[Asterisk-cvs] asterisk callerid.c,1.27,1.28
markster at lists.digium.com
markster at lists.digium.com
Fri Feb 4 11:44:38 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13509
Modified Files:
callerid.c
Log Message:
Fix callerid split (bug #3507)
Index: callerid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/callerid.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- callerid.c 21 Jan 2005 07:06:24 -0000 1.27
+++ callerid.c 4 Feb 2005 17:45:37 -0000 1.28
@@ -706,9 +706,12 @@
ast_callerid_parse(tmp, &n, &l);
if (n)
strncpy(name, n, namelen - 1);
+ else
+ name[0] = '\0';
if (l) {
ast_shrink_phone_number(l);
strncpy(num, l, numlen - 1);
- }
+ } else
+ num[0] = '\0';
return 0;
}
More information about the svn-commits
mailing list