From 8c64d1c3476aef77ad48bb66fc4f7cdf64530ba0 Mon Sep 17 00:00:00 2001 From: "Eliel C. Sardanons" Date: Tue, 16 Jun 2009 12:55:55 +0000 Subject: [PATCH] Merged revisions 200841 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r200841 | eliel | 2009-06-16 08:32:00 -0400 (Tue, 16 Jun 2009) | 6 lines 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: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@200842 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_smdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_smdi.c b/res/res_smdi.c index d1d40f0cff..e0c87c6406 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -1044,7 +1044,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")) {