]> git.pld-linux.org Git - packages/echat.git/blame - echat-so_reuseport.patch
Add patch to fix build with -Werror=format-security
[packages/echat.git] / echat-so_reuseport.patch
CommitLineData
2345a501
AM
1diff -urN echat-0.04beta1.org/sock_udp.c echat-0.04beta1/sock_udp.c
2--- echat-0.04beta1.org/sock_udp.c 2003-08-20 15:11:25.000000000 +0200
3+++ echat-0.04beta1/sock_udp.c 2003-08-20 15:27:01.000000000 +0200
4@@ -110,7 +110,7 @@
5 exit(EXIT_FAILURE);
6 }
7 #ifdef PORTREUSE
8- if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEPORT, &s, sizeof(s)) < 0) {
9+ if (setsockopt(sfdcl, SOL_SOCKET, SO_REUSEADDR, &s, sizeof(s)) < 0) {
10 #ifdef DEBUG
11 fprintf(debug_file, "setsockopt(): %s\n", strerror(errno));
12 fflush(debug_file);
This page took 0.094769 seconds and 4 git commands to generate.