]> git.pld-linux.org Git - packages/echat.git/blob - echat-so_reuseport.patch
Add patch to fix build with -Werror=format-security
[packages/echat.git] / echat-so_reuseport.patch
1 diff -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.056658 seconds and 3 git commands to generate.