[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    socket_qt_addon: kdelibs/kdecore
From:       Thiago Macieira <thiagom () mail ! com>
Date:       2003-11-15 22:05:14
[Download RAW message or body]

CVS commit by thiago: 

Updating the sockaddr.sa_len test constant. configure.in.in's r1.35 changed
the constant, but the files were not updated.


  M +5 -5      kextsock.cpp   1.58.2.9


--- kdelibs/kdecore/kextsock.cpp  #1.58.2.8:1.58.2.9
@@ -2032,5 +2032,5 @@ KSocketAddress *KExtendedSocket::localAd
   /* was it enough? */
   if (len > sizeof(static_sa)
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
       || sa->sa_len > sizeof(static_sa)
 #endif
@@ -2039,5 +2039,5 @@ KSocketAddress *KExtendedSocket::localAd
       /* nope, malloc a new socket with the proper size */
 
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
       if (sa->sa_len != len)
         len = sa->sa_len;
@@ -2080,5 +2080,5 @@ KSocketAddress *KExtendedSocket::peerAdd
   /* was it enough? */
   if (len > sizeof(static_sa)
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
       || sa->sa_len > sizeof(static_sa)
 #endif
@@ -2087,5 +2087,5 @@ KSocketAddress *KExtendedSocket::peerAdd
       /* nope, malloc a new socket with the proper size */
 
-#ifdef HAVE_SOCKADDR_SA_LEN
+#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
       if (sa->sa_len != len)
         len = sa->sa_len;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic