[Asterisk-cvs] asterisk/apps app_queue.c,1.45.2.4,1.45.2.5
citats at lists.digium.com
citats at lists.digium.com
Sun Jun 13 14:43:24 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/home/citats/cvs/asterisk-stable/apps
Modified Files:
Tag: v1-0_stable
app_queue.c
Log Message:
Backport fix. Use strlen instead of &id in app_queue.c (Thanks folsson)
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.45.2.4
retrieving revision 1.45.2.5
diff -u -d -r1.45.2.4 -r1.45.2.5
--- app_queue.c 31 Mar 2004 22:43:11 -0000 1.45.2.4
+++ app_queue.c 13 Jun 2004 19:47:44 -0000 1.45.2.5
@@ -1471,7 +1471,7 @@
time(&now);
ast_mutex_lock(&qlock);
q = queues;
- if (id && &id) {
+ if (id && strlen(id)) {
snprintf(idText,256,"ActionID: %s\r\n",id);
}
while(q) {
More information about the svn-commits
mailing list