gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8022 - in libmicrohttpd: . src/daemon


From: gnunet
Subject: [GNUnet-SVN] r8022 - in libmicrohttpd: . src/daemon
Date: Fri, 26 Dec 2008 23:08:33 -0700 (MST)

Author: grothoff
Date: 2008-12-26 23:08:33 -0700 (Fri, 26 Dec 2008)
New Revision: 8022

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/daemon.c
Log:
fix

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2008-12-27 05:57:31 UTC (rev 8021)
+++ libmicrohttpd/ChangeLog     2008-12-27 06:08:33 UTC (rev 8022)
@@ -1,3 +1,6 @@
+Fri Dec 26 23:08:04 MST 2008
+        Fixed broken check for identical connection address. -CG
+
 Sat Dec  6 18:36:17 MST 2008
         Added configure option to disable checking for CURL support.
         Added MHD_OPTION to allow specification of custom logger. -CG

Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c   2008-12-27 05:57:31 UTC (rev 8021)
+++ libmicrohttpd/src/daemon/daemon.c   2008-12-27 06:08:33 UTC (rev 8022)
@@ -375,7 +375,7 @@
               if (addrlen == sizeof (struct sockaddr_in))
                 {
                   const struct sockaddr_in *a1 =
-                    (const struct sockaddr_in *) &addr;
+                    (const struct sockaddr_in *) addr;
                   const struct sockaddr_in *a2 =
                     (const struct sockaddr_in *) pos->addr;
                   if (0 == memcmp (&a1->sin_addr, &a2->sin_addr,
@@ -386,7 +386,7 @@
               if (addrlen == sizeof (struct sockaddr_in6))
                 {
                   const struct sockaddr_in6 *a1 =
-                    (const struct sockaddr_in6 *) &addr;
+                    (const struct sockaddr_in6 *) addr;
                   const struct sockaddr_in6 *a2 =
                     (const struct sockaddr_in6 *) pos->addr;
                   if (0 == memcmp (&a1->sin6_addr, &a2->sin6_addr,





reply via email to

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