diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-24 18:51:41 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-24 18:51:41 +0000 |
commit | 438cb82e0f7387fd29396ac0037c9c574f7dd114 (patch) | |
tree | a48442a34e74ae91b6f1a3c6a9ebef7d943024c1 /apps/app_skel.c | |
parent | e645e3fc7bcc93bdd42d2296ed0709e72096c3b6 (diff) |
Conversions to ast_debug()
(issue #9984, patches from eliel and dimas)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71338 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_skel.c')
-rw-r--r-- | apps/app_skel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_skel.c b/apps/app_skel.c index 230e952da..05897a264 100644 --- a/apps/app_skel.c +++ b/apps/app_skel.c @@ -127,7 +127,10 @@ static int unload_module(void) static int load_module(void) { - return ast_register_application(app, app_exec, synopsis, descrip); + if (ast_register_application(app, app_exec, synopsis, descrip)) + return AST_MODULE_LOAD_DECLINE; + + return AST_MODULE_LOAD_SUCCESS; } AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Skeleton (sample) Application"); |