Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6d122d2066
  1. 2
      iguana/SuperNET.c

2
iguana/SuperNET.c

@ -312,6 +312,8 @@ char *SuperNET_JSON(struct supernet_info *myinfo,cJSON *json,char *remoteaddr)
free(forwardstr);
if ( jsonstr != 0 )
free(jsonstr);
if ( retstr == 0 )
retstr = clonestr("{\"error\":\"invalid JSON request\"}");
return(retstr);
}

Loading…
Cancel
Save