call ast_register_application properly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2003-11-11 07:56:13 +00:00
parent ec06e092ff
commit 5904fc0ed0

View File

@@ -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)