mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +00:00
Fine, take this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1991,7 +1991,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
|
||||
return 1;
|
||||
}
|
||||
if (res < sizeof(struct dundi_hdr)) {
|
||||
ast_log(LOG_WARNING, "midget packet received (%d of %ld min)\n", res, sizeof(struct dundi_hdr));
|
||||
ast_log(LOG_WARNING, "midget packet received (%d of %d min)\n", res, (int)sizeof(struct dundi_hdr));
|
||||
return 1;
|
||||
}
|
||||
buf[res] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user