diff options
author | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 12:55:55 +0000 |
---|---|---|
committer | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 12:55:55 +0000 |
commit | 809f4006657f24e49e9e8a382bb0fa06b949f42f (patch) | |
tree | 8f072b9200c8960aec753f3f580f80f36390cadf /res/res_smdi.c | |
parent | 95978316fc96c25d41b279116c38a130c02cd268 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@200842 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r-- | res/res_smdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index d1d40f0cf..e0c87c640 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")) { |