فهرست منبع

Add new line to connection error

Fixes #15.
Andrew Widdersheim 11 سال پیش
والد
کامیت
88605c2424
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/utils.c

+ 1 - 1
src/utils.c

@@ -171,7 +171,7 @@ int my_connect(const char *host, struct sockaddr_storage * hostaddr, u_short por
 
 	/* Return failure if we didn't get a successful connection. */
 	if (sock == -1) {
-		fprintf(stderr, "connect to host %s port %s: %s", host, strport, 
+		fprintf(stderr, "connect to host %s port %s: %s\n", host, strport, 
 				strerror(errno));
 		return -1;
 		}