libabis: ipaccess: use log instead of debug under errors in ipaccess_send()

This patch was suggested by Zecke.
This commit is contained in:
Pablo Neira Ayuso 2011-04-11 16:32:53 +02:00 committed by Harald Welte
parent ca05d432d7
commit 91afbbc56a
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static int ipaccess_send(int fd, const void *msg, size_t msglen)
if (ret < 0)
return ret;
if (ret < msglen) {
DEBUGP(DINP, "ipaccess_send: short write\n");
LOGP(DINP, LOGL_ERROR, "ipaccess_send: short write\n");
return -EIO;
}
return ret;