diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:03:59 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-27 19:03:59 +0000 |
commit | 5dae9a45e537db08a3c261ad87cac02458daa07c (patch) | |
tree | 1ba8224abb923bd1b65d0234c60ecbd5102a736e /res | |
parent | 9d509536416ceb97563e6242dd080481dd277db2 (diff) |
Fix a typo from 190661.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@190662 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_smdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index e13b5d4d9..e3da188c9 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -423,8 +423,6 @@ static void *smdi_msg_find(struct ast_smdi_interface *iface, break; case SMDI_MWI: if (ast_strlen_zero(search_key)) { - msg = ASTOBJ_CONTAINER_FIND(&iface->mwi_q, search_key); - } else { struct ast_smdi_mwi_message *mwi_msg = NULL; /* No search key provided (the code from chan_dahdi does this). @@ -435,6 +433,8 @@ static void *smdi_msg_find(struct ast_smdi_interface *iface, } while (0); ); msg = mwi_msg; + } else { + msg = ASTOBJ_CONTAINER_FIND(&iface->mwi_q, search_key); } break; } |