Skip to content
Snippets Groups Projects
Commit 5904fc0e authored by Jeremy McNamara's avatar Jeremy McNamara
Browse files

call ast_register_application properly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ec06e092
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment