cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] small fix sws.c

From: Tor Arntsen <tor_at_spacetec.no>
Date: Mon, 13 Nov 2006 11:09:14 +0100

I noticed this little error while looking at the autobuild logs.

-Tor
Index: tests/server/sws.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/server/sws.c,v
retrieving revision 1.95
diff -u -r1.95 sws.c
--- tests/server/sws.c 23 Oct 2006 19:16:19 -0000 1.95
+++ tests/server/sws.c 10 Nov 2006 17:36:40 -0000
@@ -865,7 +865,7 @@
     msgsock = accept(sock, NULL, NULL);
 
     if (CURL_SOCKET_BAD == msgsock) {
- printf("MAJOR ERROR: accept() failed with error: &d\n", errno);
+ printf("MAJOR ERROR: accept() failed with error: %d\n", errno);
       break;
     }
 
Received on 2006-11-13