From 6c95b2116dcd173fcc53c39a431988e716a5de5f Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 29 Apr 2021 16:46:13 +0200 Subject: [PATCH] string --- sink/sink20169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sink/sink20169.c b/sink/sink20169.c index 11be8f0..2c3a355 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -156,7 +156,7 @@ t_device *findDevice(t_commonHandle *handle, char *deviceId) { logmsg(LOG_DEBUG, "device found"); char *sharedsecret = PQgetvalue(res2, 0, 0); char *active = PQgetvalue(res2, 0, 1); - logmsg(LOG_DEBUG, "found sharedsecret is %s, active is %d", sharedsecret, active[0]); + logmsg(LOG_DEBUG, "found sharedsecret is %s, active is %s", sharedsecret, active); } else { logmsg(LOG_ERR, "no device found"); }