ccnl: fix argument passing in example app
This commit is contained in:
parent
5cf625fc03
commit
a3d2f4a777
@ -73,7 +73,7 @@ static void riot_ccn_appserver(int argc, char **argv)
|
|||||||
_appserver_pid = thread_create(
|
_appserver_pid = thread_create(
|
||||||
appserver_stack, sizeof(appserver_stack),
|
appserver_stack, sizeof(appserver_stack),
|
||||||
PRIORITY_MAIN - 1, CREATE_STACKTEST,
|
PRIORITY_MAIN - 1, CREATE_STACKTEST,
|
||||||
ccnl_riot_appserver_start, (void *) _relay_pid, "appserver");
|
ccnl_riot_appserver_start, (void *) &_relay_pid, "appserver");
|
||||||
DEBUG("ccn-lite appserver on thread_id %" PRIkernel_pid "...\n", _appserver_pid);
|
DEBUG("ccn-lite appserver on thread_id %" PRIkernel_pid "...\n", _appserver_pid);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user