]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix the fix for STR #4452 - incorrectly used httpAddrSize instead of
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 15 Jul 2014 12:58:39 +0000 (12:58 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 15 Jul 2014 12:58:39 +0000 (12:58 +0000)
httpAddrLength.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12024 a1ca3aef-8c08-0410-bb20-df032aa958be

backend/lpd.c

index 48d1a5fc671ac64f24995d15725979a5e939a6e8..0a1bd1e64b2452986ed47339ee1a5d7622bd43d8 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, httpAddrSize(&addr)))
+    if (!bind(fd, (struct sockaddr *)&addr, httpAddrLength(&addr)))
       return (fd);
 
    /*