mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Fix queue URL passing (bug #3543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
frame.c
2
frame.c
@@ -354,7 +354,7 @@ struct ast_frame *ast_fr_fdread(int fd)
|
||||
/* Forget about being mallocd */
|
||||
f->mallocd = 0;
|
||||
/* Re-write the source */
|
||||
f->src = __FUNCTION__;
|
||||
f->src = (char *)__FUNCTION__;
|
||||
if (f->datalen > sizeof(buf) - sizeof(struct ast_frame)) {
|
||||
/* Really bad read */
|
||||
ast_log(LOG_WARNING, "Strange read (%d bytes)\n", f->datalen);
|
||||
|
Reference in New Issue
Block a user