mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:00:11 +01:00
add extra logging if accept() fails
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
462063fc26
commit
fb6675eb73
@ -9,9 +9,9 @@
|
||||
#include "piler-config.h"
|
||||
#include "params.h"
|
||||
|
||||
#define VERSION "1.3.4"
|
||||
#define VERSION "1.3.5-pre1"
|
||||
|
||||
#define BUILD 994
|
||||
#define BUILD 995
|
||||
|
||||
#define HOSTID "mailarchiver"
|
||||
|
||||
|
@ -249,7 +249,7 @@ int main(int argc, char **argv){
|
||||
break;
|
||||
}
|
||||
else {
|
||||
syslog(LOG_PRIORITY, "ERROR: accept()");
|
||||
syslog(LOG_PRIORITY, "ERROR: accept(): '%s'", strerror(errno));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user