mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 07:41:59 +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 "piler-config.h"
|
||||||
#include "params.h"
|
#include "params.h"
|
||||||
|
|
||||||
#define VERSION "1.3.4"
|
#define VERSION "1.3.5-pre1"
|
||||||
|
|
||||||
#define BUILD 994
|
#define BUILD 995
|
||||||
|
|
||||||
#define HOSTID "mailarchiver"
|
#define HOSTID "mailarchiver"
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ int main(int argc, char **argv){
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
syslog(LOG_PRIORITY, "ERROR: accept()");
|
syslog(LOG_PRIORITY, "ERROR: accept(): '%s'", strerror(errno));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user