diff --git a/src/call_out.h b/src/call_out.h index 2793be77a886bb6c5a5348844d95b7e7348a2268..9ae0cfd567280113ebdcddfd4cd9d19f7e41a9f1 100644 --- a/src/call_out.h +++ b/src/call_out.h @@ -6,6 +6,7 @@ #ifndef CALL_OUT_H #define CALL_OUT_H +#include <sys/types.h> #include "types.h" struct call_out_s diff --git a/src/config.h b/src/config.h index 15c903eba452955a54ef3aaacfe71200bd4657b9..33ec34fff1c134a844e689dc25008e91cd0f84a7 100644 --- a/src/config.h +++ b/src/config.h @@ -11,7 +11,7 @@ * with DEBUG defined debugging becomes much easier. */ -#define DEBUG +#undef DEBUG /* * Define the evaluator stack size, used for just about everything. diff --git a/src/modules/files/file.c b/src/modules/files/file.c index 0f84c190ad4eda7b0b69875a24306321c063da8e..a4ebbdfd153a54f67c24c3b3a9a11719bdc2c63a 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -774,9 +774,9 @@ int socketpair(int family, int type, int protocol, int sv[2]) len=sizeof(addr2); sv[0]=accept(fd,(struct sockaddr_in *)&addr2,&len); if(sv[0] < 0) return -1; - }while(len < sizeof(addr2) || - addr2.sin_addr.s_addr != addr.sin_addr.s_addr || - addr2.sin_port != addr.sin_port) + } while(len < sizeof(addr2) || + addr2.sin_addr.s_addr != addr.sin_addr.s_addr || + addr2.sin_port != addr.sin_port); if(close(fd) <0) return -1;