Resolve a crash in SLATrunk when the specified trunk doesn't exist.
[asterisk/asterisk.git] / apps / app_userevent.c
index f716ccb..092f22f 100644 (file)
@@ -56,7 +56,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 static char *app = "UserEvent";
 
-static int userevent_exec(struct ast_channel *chan, void *data)
+static int userevent_exec(struct ast_channel *chan, const char *data)
 {
        char *parse;
        int x;