]> granicus.if.org Git - curl/commitdiff
logmsg already appends '\n'
authorYang Tse <yangsita@gmail.com>
Tue, 9 Oct 2007 23:21:29 +0000 (23:21 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 9 Oct 2007 23:21:29 +0000 (23:21 +0000)
tests/server/sockfilt.c

index ae576237ee73af2b54b8c84a29b686fc07ffe4ef..e5a605157c090f26defcf9d33b8bd7c2aae6372f 100644 (file)
@@ -678,9 +678,9 @@ int main(int argc, char *argv[])
   }
   else {
     error = ERRNO;
-    logmsg("fopen() failed with error: %d %s\n", error, strerror(error));
-    logmsg("Error opening file: %s\n", pidname);
-    logmsg("Couldn't write pid file\n");
+    logmsg("fopen() failed with error: %d %s", error, strerror(error));
+    logmsg("Error opening file: %s", pidname);
+    logmsg("Couldn't write pid file");
     sclose(sock);
     return 1;
   }