aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-06-02 21:28:59 +0200
committercbdev <cb@cbcdn.com>2020-06-02 21:28:59 +0200
commit257ce41f43837dc1f1195d6ead397151c309e59b (patch)
treeed58b8b30842969c5830c475258245276216dc21
parent51b281340ba319eaa8399d507b00eaefa6c6a469 (diff)
downloadmidimonster-257ce41f43837dc1f1195d6ead397151c309e59b.tar.gz
midimonster-257ce41f43837dc1f1195d6ead397151c309e59b.tar.bz2
midimonster-257ce41f43837dc1f1195d6ead397151c309e59b.zip
Change maweb session identifier message (Fixes #62)
-rw-r--r--backends/maweb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/maweb.c b/backends/maweb.c
index 297fb5f..1f8fcf0 100644
--- a/backends/maweb.c
+++ b/backends/maweb.c
@@ -630,7 +630,7 @@ static int maweb_handle_message(instance* inst, char* payload, size_t payload_le
if(json_obj(payload, "session") == JSON_NUMBER){
session = json_obj_int(payload, "session", data->session);
if(session < 0){
- LOG("Invalid session ID received, closing connection");
+ LOG("Invalid web remote session identifier received, closing connection");
data->session = -1;
data->login = 0;
@@ -639,7 +639,7 @@ static int maweb_handle_message(instance* inst, char* payload, size_t payload_le
return 0;
}
if(data->session != session){
- LOGPF("Session ID changed from %" PRId64 " to %" PRId64 "", data->session, session);
+ LOGPF("Web remote session ID changed from %" PRId64 " to %" PRId64 "", data->session, session);
}
data->session = session;
}