[asterisk-commits] mmichelson: trunk r98994 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 17 10:33:25 CST 2008
Author: mmichelson
Date: Thu Jan 17 10:33:24 2008
New Revision: 98994
URL: http://svn.digium.com/view/asterisk?view=rev&rev=98994
Log:
state_interface could be NULL, so use the never-NULL cur->state_interface for this check
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=98994&r1=98993&r2=98994
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jan 17 10:33:24 2008
@@ -842,7 +842,7 @@
ast_copy_string(cur->membername, interface, sizeof(cur->membername));
if (!strchr(cur->interface, '/'))
ast_log(LOG_WARNING, "No location at interface '%s'\n", interface);
- cur->status = ast_device_state(state_interface);
+ cur->status = ast_device_state(cur->state_interface);
}
return cur;
More information about the asterisk-commits
mailing list