diff options
Diffstat (limited to 'sock_stuff.c')
| -rw-r--r-- | sock_stuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sock_stuff.c b/sock_stuff.c index 78249e6..8a06135 100644 --- a/sock_stuff.c +++ b/sock_stuff.c | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include <arpa/inet.h> | 11 | #include <arpa/inet.h> |
| 12 | #include "sock_stuff.h" | 12 | #include "sock_stuff.h" |
| 13 | 13 | ||
| 14 | #define RECV_TIMEOUT 10000 | 14 | #define RECV_TIMEOUT 20000 |
| 15 | 15 | ||
| 16 | static int verbose = 0; | 16 | static int verbose = 0; |
| 17 | 17 | ||
| @@ -75,7 +75,7 @@ int connect_unix_socket(const char *filename) | |||
| 75 | 75 | ||
| 76 | // check if socket file exists... | 76 | // check if socket file exists... |
| 77 | if (stat(filename, &fst) != 0) { | 77 | if (stat(filename, &fst) != 0) { |
| 78 | if (verbose >= 2) fprintf(stderr, "%s: stat '%s': %s\n", __func__, filename, strerror(errno)); | 78 | if (verbose >= 2) fprintf(stderr, "%s: stat '%s': %s\n", __func__, filename, strerror(errno)); |
| 79 | return -1; | 79 | return -1; |
| 80 | } | 80 | } |
| 81 | 81 | ||
