Update of /usr/cvsroot/asterisk/apps
In directory localhost.localdomain:/tmp/cvs-serv16625/apps
Modified Files:
app_disa.c
Log Message:
ensure that mailbox numbers are read correctly from password files (bug #4655)
Index: app_disa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_disa.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- app_disa.c 6 Jun 2005 22:39:31 -0000 1.28
+++ app_disa.c 7 Jul 2005 22:42:06 -0000 1.29
@@ -275,6 +275,11 @@
stringp2=strsep(&stringp, "|");
if (stringp2)
ourcallerid=stringp2;
}
+ mailbox =
strsep(&stringp, "|");
+ if (!mailbox)
+ mailbox = "";
+ ast_log(LOG_DEBUG,
"Mailbox: %s\n",mailbox);
+
/* password must be
in valid format (numeric) */
if (sscanf(tmp,"%d",&j)
< 1) continue;
/* if we got it */
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs