Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv19949/apps
Modified Files:
app_queue.c
Log Message:
add English device state output (bug #4733, with minor mod)
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- app_queue.c 13 Jul 2005 16:44:55 -0000 1.150
+++ app_queue.c 20 Jul 2005 00:34:00 -0000 1.151
@@ -423,7 +423,7 @@
return NULL;
}
if (option_debug)
- ast_log(LOG_DEBUG, "Device '%s/%s' changed to state '%d'\n",
technology, loc, sc->state);
+ ast_log(LOG_DEBUG, "Device '%s/%s' changed to state '%d'
(%s)\n", technology, loc, sc->state, devstate2str(sc->state));
ast_mutex_lock(&qlock);
for (q = queues; q; q = q->next) {
ast_mutex_lock(&q->lock);
@@ -452,8 +452,6 @@
ast_mutex_unlock(&q->lock);
}
ast_mutex_unlock(&qlock);
- if (option_debug)
- ast_log(LOG_DEBUG, "Device '%s/%s' changed to state '%d'\n",
technology, loc, sc->state);
free(sc);
return NULL;
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs