You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2014/10/22 15:58:55 UTC

svn commit: r1633619 - /qpid/proton/trunk/proton-c/src/windows/io.c

Author: chug
Date: Wed Oct 22 13:58:55 2014
New Revision: 1633619

URL: http://svn.apache.org/r1633619
Log:
PROTON-720: [Windows IO] fix format specifier to print string

Modified:
    qpid/proton/trunk/proton-c/src/windows/io.c

Modified: qpid/proton/trunk/proton-c/src/windows/io.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/windows/io.c?rev=1633619&r1=1633618&r2=1633619&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/windows/io.c (original)
+++ qpid/proton/trunk/proton-c/src/windows/io.c Wed Oct 22 13:58:55 2014
@@ -83,7 +83,7 @@ void pn_io_initialize(void *obj)
   int err = WSAStartup(wsa_ver, &unused);
   if (err) {
     pni_win32_error(io->error, "WSAStartup", WSAGetLastError());
-    fprintf(stderr, "Can't load WinSock: %d\n", pn_error_text(io->error));
+    fprintf(stderr, "Can't load WinSock: %s\n", pn_error_text(io->error));
   }
   io->iocp = pni_iocp();
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org