Added CFLAGS -Wall -Wextra to configure.ac

Fixed some compiler warnings related to changed CFLAGS settings.
This commit is contained in:
Roland Jax
2014-02-05 13:23:40 +01:00
parent 55fbbdd082
commit 4787c26b35
6 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ sock_open(int *fd, int port, int localhost)
struct sockaddr_in sock;
*fd = socket(PF_INET, SOCK_STREAM, 0);
err_ret_if(fd < 0, -1);
err_ret_if(*fd < 0, -1);
/* todo: verify if this realy work */
/* prevent "Error Address already in use" error message */