aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-16 13:25:51 +0000
committereliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-16 13:25:51 +0000
commit5661b92c46bfd27d49226c3371761999c58643d2 (patch)
tree086fed78edf4b2052aac04820595e2f3bad5cdd6
parente5a5370624d0ac5b5ff6debe1425b78ac6ec6647 (diff)
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)'. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@200875 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_smdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c
index 42aba5564..f26e2ac25 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -1048,7 +1048,7 @@ static int smdi_load(int reload)
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")) {