mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 14:36:48 +00:00
Don't hard code the RTP payload type to 101 (bug #2192)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -158,7 +158,7 @@ void ast_unregister_atexit(void (*func)(void));
|
||||
|
||||
#define LOCAL_USER_ADD(u) { \
|
||||
\
|
||||
if (!(u=malloc(sizeof(struct localuser)))) { \
|
||||
if (!(u=(struct localuser *)malloc(sizeof(struct localuser)))) { \
|
||||
ast_log(LOG_WARNING, "Out of memory\n"); \
|
||||
return -1; \
|
||||
} \
|
||||
|
Reference in New Issue
Block a user