fixed invalid return in send_to_all
This commit is contained in:
parent
e0e82d2570
commit
efa1d24047
@ -146,7 +146,7 @@ void *send_to_all(void *json)
|
||||
//PARSE
|
||||
struct json_object *json_obj = json_tokener_parse((char*) json);
|
||||
|
||||
if (json_obj == NULL) return; //EXIT IF INVALID SYNTAX WAS SENT
|
||||
if (json_obj == NULL) return NULL; //EXIT IF INVALID SYNTAX WAS SENT
|
||||
|
||||
do //SEND TO ALL CONNECTIONS
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user