certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libCERTI SocketUN.cc


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI SocketUN.cc
Date: Tue, 24 Jun 2008 12:10:33 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Mathé <jmm>    08/06/24 12:10:33

Modified files:
        libCERTI       : SocketUN.cc 

Log message:
        Fix WIN32 error after _no buffer usage_ since JYR fixed large UAV value

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketUN.cc?cvsroot=certi&r1=3.24&r2=3.25

Patches:
Index: SocketUN.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketUN.cc,v
retrieving revision 3.24
retrieving revision 3.25
diff -u -b -r3.24 -r3.25
--- SocketUN.cc 24 Jun 2008 09:09:14 -0000      3.24
+++ SocketUN.cc 24 Jun 2008 12:10:33 -0000      3.25
@@ -24,11 +24,11 @@
 #include "baseTypes.hh"
 
 #if defined(RTIA_USE_TCP)
-#include "SocketTCP.hh"
-#if not defined(_WIN32)
-#include <cstring>
-#include <cerrno>
-#endif
+       #include "SocketTCP.hh"
+       #if not defined(_WIN32)
+               #include <cstring>
+               #include <cerrno>
+       #endif
 #else
 #include <unistd.h>
 #include <strings.h>
@@ -416,7 +416,7 @@
                                                 0);
                #else
                                nReceived = recv(_socket_un,
-                                                (char *) Buffer + RBLength,
+                                                (char *) buffer + RBLength,
                                                 Size - RBLength,
                                                 0);
                #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]