diff options
Diffstat (limited to 'main/cups/cups-httpAddrLength.patch')
-rw-r--r-- | main/cups/cups-httpAddrLength.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/cups/cups-httpAddrLength.patch b/main/cups/cups-httpAddrLength.patch new file mode 100644 index 0000000000..aea8bb409f --- /dev/null +++ b/main/cups/cups-httpAddrLength.patch @@ -0,0 +1,13 @@ +diff --git a/backend/lpd.c b/backend/lpd.c +index 48d1a5f..0a1bd1e 100644 +--- a/backend/lpd.c ++++ b/backend/lpd.c +@@ -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); + + /* |