浏览代码

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

John C. Frickson 10 年之前
父节点
当前提交
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;
 		}
 		}