b501266c2b
- Refresh all patches - Also, pass getconf LFS_CFLAGS into CFLAGS OBS-URL: https://build.opensuse.org/request/show/114926 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpd?expand=0&rev=10
12 lines
345 B
Diff
12 lines
345 B
Diff
--- fix_options.c.orig
|
|
+++ fix_options.c
|
|
@@ -53,7 +53,7 @@ struct request_info *request;
|
|
* XXX IPv6 support?
|
|
*/
|
|
sslen = sizeof(ss);
|
|
- if (getsockname(fd, (struct sockaddr *)&ss, &sslen < 0)) {
|
|
+ if (getsockname(fd, (struct sockaddr *)&ss, &sslen) < 0) {
|
|
syslog(LOG_ERR, "getpeername: %m");
|
|
clean_exit(request);
|
|
}
|