Commit 6debc5dd authored by Robert Schmidt's avatar Robert Schmidt

Make websrv compile

parent ee287d62
...@@ -819,7 +819,7 @@ void *websrv_autoinit() ...@@ -819,7 +819,7 @@ void *websrv_autoinit()
{ {
int ret; int ret;
memset(&websrvparams, 0, sizeof(websrvparams)); memset(&websrvparams, 0, sizeof(websrvparams));
config_get(websrvoptions, sizeofArray(websrvoptions), "websrv"); config_get(config_get_if(), websrvoptions, sizeofArray(websrvoptions), "websrv");
/* check if telnet server is loaded or not */ /* check if telnet server is loaded or not */
add_telnetcmd_func_t addcmd = (add_telnetcmd_func_t)get_shlibmodule_fptr("telnetsrv", TELNET_ADDCMD_FNAME); add_telnetcmd_func_t addcmd = (add_telnetcmd_func_t)get_shlibmodule_fptr("telnetsrv", TELNET_ADDCMD_FNAME);
if (addcmd != NULL) { if (addcmd != NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment