mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-22 08:04:23 +08:00
Fix build with WITH_CJSON=no
This commit is contained in:
@@ -350,7 +350,7 @@ static int json_print(const struct mosquitto_message *message, const mosquitto_p
|
||||
fputs("\"}", stdout);
|
||||
}else{
|
||||
fputs("\"payload\":", stdout);
|
||||
write_payload(message->payload, message->payloadlen, 0, 0, 0, 0);
|
||||
write_payload(message->payload, message->payloadlen, 0, 0, 0, 0, 0);
|
||||
fputs("}", stdout);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user