diff options
author | Simon Rettberg | 2014-03-18 19:32:40 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-03-18 19:32:40 +0100 |
commit | f0b46f7a343a79d1eeb29c0d45942df646e9cc35 (patch) | |
tree | 6969611ee51f412370c1c8b3171b6e9b72b4f551 /ldadp.c | |
parent | Fix double free in scan_ldapsearchfilter (diff) | |
download | ldadp-f0b46f7a343a79d1eeb29c0d45942df646e9cc35.tar.gz ldadp-f0b46f7a343a79d1eeb29c0d45942df646e9cc35.tar.xz ldadp-f0b46f7a343a79d1eeb29c0d45942df646e9cc35.zip |
First working version with user and group support, login relaying
Diffstat (limited to 'ldadp.c')
-rw-r--r-- | ldadp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,7 @@ #include <io.h> #include <string.h> #include <stdlib.h> +#include <signal.h> static void listen_callback(void *data, int haveIn, int haveOut, int doCleanup); static void loadConfig(char *file); @@ -20,6 +21,7 @@ int main(int argc, char **argv) printf("Nö\n"); exit(1); } + signal(SIGPIPE, SIG_IGN); loadConfig(argv[1]); proxy_init(); char listen_addr[4] = {0, 0, 0, 0}; |