Change-Id: I6822dfae11cacc49d14097f4bc43c3da5846b34c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
#include <json.h>
#include <openssl/sha.h>
#include <json.h>
#include <openssl/sha.h>
-/*
-#include <openssl/bio.h>
-#include <openssl/evp.h>
-*/
/* emits the reply */
message = json_object_to_json_string(reply);
websock_text(wsreq->aws->ws, message, strlen(message));
/* emits the reply */
message = json_object_to_json_string(reply);
websock_text(wsreq->aws->ws, message, strlen(message));
+ json_object_put(reply);
/* TODO eliminates the wsreq */
}
/* TODO eliminates the wsreq */
}