]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The LPD backend did not work with some versions of glibc (STR #4452)
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 8 Jul 2014 15:46:46 +0000 (15:46 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 8 Jul 2014 15:46:46 +0000 (15:46 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12004 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.7.txt
backend/lpd.c

index 110f3393f0508eecbf905acd594b718d33814d13..da72e6d5063844c41a86e7da598508f967b438cb 100644 (file)
@@ -25,6 +25,7 @@ CHANGES IN CUPS V1.7.4
        - Fixed a bug in the CUPS_SC_GET_DEVICE_ID handling by the network
          backends (STR #4447)
        - Added USB quirk rule for Lexmark E230 (STR #4448)
+       - The LPD backend did not work with some versions of glibc (STR #4452)
 
 
 CHANGES IN CUPS V1.7.3
index 5815eef0ecb57539c6378a8559fa5ddd99e404cb..48d1a5fc671ac64f24995d15725979a5e939a6e8 100644 (file)
@@ -1269,7 +1269,7 @@ rresvport_af(int *port,                   /* IO - Port number to bind to */
     * Try binding the port to the socket; return if all is OK...
     */
 
-    if (!bind(fd, (struct sockaddr *)&addr, sizeof(addr)))
+    if (!bind(fd, (struct sockaddr *)&addr, httpAddrSize(&addr)))
       return (fd);
 
    /*