make usage of function parameters

This commit is contained in:
thorkill 2015-06-29 00:45:00 +02:00
parent 62dc7b6fe5
commit 8108b0d5eb
4 changed files with 13 additions and 4 deletions

View file

@ -639,7 +639,7 @@ void handle_new_meta_connection(void *data, int flags) {
fd = accept(l->tcp.fd, &sa.sa, &len);
if(fd < 0) {
logger(DEBUG_ALWAYS, LOG_ERR, "Accepting a new connection failed: %s", sockstrerror(sockerrno));
logger(DEBUG_ALWAYS, LOG_ERR, "Accepting a new connection failed: %s, data at 0x%x flags 0x%x", sockstrerror(sockerrno), data, flags);
return;
}
@ -736,7 +736,7 @@ void handle_new_unix_connection(void *data, int flags) {
fd = accept(io->fd, &sa.sa, &len);
if(fd < 0) {
logger(DEBUG_ALWAYS, LOG_ERR, "Accepting a new connection failed: %s", sockstrerror(sockerrno));
logger(DEBUG_ALWAYS, LOG_ERR, "Accepting a new connection failed: %s data at 0x%x flags 0x%x", sockstrerror(sockerrno), data, flags);
return;
}