summaryrefslogtreecommitdiff
path: root/apps/app_skel.c
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2003-11-11 07:56:13 +0000
committerJeremy McNamara <jj@nufone.net>2003-11-11 07:56:13 +0000
commit5904fc0ed0e4a22474e78cd983ddad6ebd9111d5 (patch)
tree7d986250521a6396446a85f0226964feed6fe5b7 /apps/app_skel.c
parentec06e092ff9ac053417d62b029eb8c6e7ad1c8a7 (diff)
call ast_register_application properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_skel.c')
-rwxr-xr-xapps/app_skel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_skel.c b/apps/app_skel.c
index 8ca411305..35560251b 100755
--- a/apps/app_skel.c
+++ b/apps/app_skel.c
@@ -20,13 +20,13 @@
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
-
#include <pthread.h>
-
static char *tdesc = "Trivial skeleton Application";
-
static char *app = "skel";
+static char *synopsis =
+" This is a skeleton application that shows you the basic structure to create your\n"
+"own asterisk applications.\n";
STANDARD_LOCAL_USER;
@@ -54,7 +54,7 @@ int unload_module(void)
int load_module(void)
{
- return ast_register_application(app, skel_exec);
+ return ast_register_application(app, skel_exec, synopsis, tdesc);
}
char *description(void)