[svn-commits] eliel: branch 1.4 r200875 - /branches/1.4/res/res_smdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 16 08:25:57 CDT 2009


Author: eliel
Date: Tue Jun 16 08:25:51 2009
New Revision: 200875

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=200875
Log:
Show the interface name on error, if it is not found.

If the smdiport specified is not found, show the interface name
instead of '(null)'.

Modified:
    branches/1.4/res/res_smdi.c

Modified: branches/1.4/res/res_smdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/res/res_smdi.c?view=diff&rev=200875&r1=200874&r2=200875
==============================================================================
--- branches/1.4/res/res_smdi.c (original)
+++ branches/1.4/res/res_smdi.c Tue Jun 16 08:25:51 2009
@@ -1048,7 +1048,7 @@
 				ASTOBJ_UNREF(iface, ast_smdi_interface_destroy);
 
 			if (!(iface = ASTOBJ_CONTAINER_FIND(&smdi_ifaces, v->value))) {
-				ast_log(LOG_NOTICE, "SMDI interface %s not found\n", iface->name);
+				ast_log(LOG_NOTICE, "SMDI interface %s not found\n", v->value);
 				continue;
 			}
 		} else if (!strcasecmp(v->name, "pollinginterval")) {




More information about the svn-commits mailing list