void *vMsg;
message_summary *Msg;
char cmd[256] = "";
- int i;
+ int i, r;
wcsession *WCC = WC;
HashPos *at;
const char *HashKey;
jsonMessageListHdr();
}
- switch(ViewMsg->GetParamsGetServerCall(
+ if (ViewMsg->GetParamsGetServerCall != NULL) {
+ r = ViewMsg->GetParamsGetServerCall(
&Stat,
&ViewSpecific,
oper,
- cmd, sizeof(cmd)))
+ cmd, sizeof(cmd)
+ );
+ } else {
+ r = 0;
+ }
+ switch(r)
{
case 400:
case 404: