From cc25738918efa366be574377b971d437659e6e2a Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Tue, 22 Sep 2015 22:25:48 +0300 Subject: [PATCH] EOL --- src/ntp.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ntp.cpp b/src/ntp.cpp index 0cd94b9..bae50d9 100644 --- a/src/ntp.cpp +++ b/src/ntp.cpp @@ -348,7 +348,7 @@ int64_t DoReq(SOCKET sockfd, socklen_t servlen, struct sockaddr cliaddr) { int len=48; int retcode = sendto(sockfd, (char *) msg, len, 0, &cliaddr, servlen); if (retcode < 0) { - printf("sendto() failed: %d", retcode); + printf("sendto() failed: %d\n", retcode); return -3; } @@ -359,7 +359,7 @@ int64_t DoReq(SOCKET sockfd, socklen_t servlen, struct sockaddr cliaddr) { retcode = select(sockfd + 1, &fdset, NULL, NULL, &timeout); if (retcode <= 0) { - printf("recvfrom() error"); + printf("recvfrom() error\n"); return -4; } -- 1.7.1