Просмотр исходного кода

Merge Pull Request 16 into nrpe-2-16-RC2

John C. Frickson 10 лет назад
Родитель
Сommit
57dc352bfb
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. */
 	/* Return failure if we didn't get a successful connection. */
 	if (sock == -1) {
 	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));
 				strerror(errno));
 		return -1;
 		return -1;
 		}
 		}