From e4712e43c08d110be1f6b0dae4f14a64f1cba6d9 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 3 May 2009 20:40:46 +0300 Subject: plugtest.c: fix segmentation fault at load time diff --git a/plugtest.c b/plugtest.c index 9d80118..72b6d38 100644 --- a/plugtest.c +++ b/plugtest.c @@ -16,7 +16,7 @@ void plugtest( char *arg ); -cmdstruct mycommand = { NULL, NULL, "plugtest", plugtest, "test command" }; +cmdstruct mycommand = { NULL, "plugtest", "test command", plugtest, NULL }; void powwow_init() { tty_printf( "Init plugtest.so!\n" ); -- cgit v0.10.2