[Asterisk-cvs] asterisk/include/asterisk module.h,1.10,1.11
markster at lists.digium.com
markster at lists.digium.com
Sat Jul 31 16:45:09 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory localhost.localdomain:/tmp/cvs-serv8209/include/asterisk
Modified Files:
module.h
Log Message:
Don't hard code the RTP payload type to 101 (bug #2192)
Index: module.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/module.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- module.h 9 Jun 2004 01:45:08 -0000 1.10
+++ module.h 31 Jul 2004 20:31:11 -0000 1.11
@@ -158,7 +158,7 @@
#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; \
} \
More information about the svn-commits
mailing list