[commit] r2416 - Fix typos in merged code.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2416 - Fix typos in merged code.

commits-3
 
Author: andreas
Date: 2011-06-09 02:01:10 -0700 (Thu, 09 Jun 2011)
New Revision: 2416

Modified:
   trunk/platforms/win32/plugins/SocketPlugin/sqWin32NewNet.c
Log:
Fix typos in merged code.

Modified: trunk/platforms/win32/plugins/SocketPlugin/sqWin32NewNet.c
===================================================================
--- trunk/platforms/win32/plugins/SocketPlugin/sqWin32NewNet.c 2011-06-09 08:37:52 UTC (rev 2415)
+++ trunk/platforms/win32/plugins/SocketPlugin/sqWin32NewNet.c 2011-06-09 09:01:10 UTC (rev 2416)
@@ -45,7 +45,7 @@
 #ifndef NDEBUG
 #define DBG(s,c) debugCheckWatcherThreads(PSP(s),c)
 #else
-#define DBG(s)
+#define DBG(s,c)
 #endif
 
 /*** Socket Type Constants ***/
@@ -1464,9 +1464,9 @@
 
   /* initial peer := wildcard */
   ZeroMemory(&pss->peer, sizeof(pss->peer));
-  pss->peer.sin_family= AF_INET;
-  pss->peer.sin_port= htons((short)0);;
-  pss->peer.sin_addr.s_addr= INADDR_ANY;
+  pss->peer.sin.sin_family= AF_INET;
+  pss->peer.sin.sin_port= htons((short)0);;
+  pss->peer.sin.sin_addr.s_addr= INADDR_ANY;
 
   /* fill the SQSocket */
   s->sessionID = thisNetSession;