diff options
Diffstat (limited to 'apps/app_lookupcidname.c')
-rwxr-xr-x | apps/app_lookupcidname.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/app_lookupcidname.c b/apps/app_lookupcidname.c index cc9db230d..a2ce8b4f8 100755 --- a/apps/app_lookupcidname.c +++ b/apps/app_lookupcidname.c @@ -81,8 +81,13 @@ lookupcidname_exec (struct ast_channel *chan, void *data) int unload_module (void) { - STANDARD_HANGUP_LOCALUSERS; - return ast_unregister_application (app); + int res; + + res = ast_unregister_application (app); + + STANDARD_HANGUP_LOCALUSERS; + + return res; } int |