This commit is contained in:
Wolfgang Hottgenroth 2021-04-29 16:46:13 +02:00
parent f2442cc4aa
commit 6c95b2116d
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -156,7 +156,7 @@ t_device *findDevice(t_commonHandle *handle, char *deviceId) {
logmsg(LOG_DEBUG, "device found"); logmsg(LOG_DEBUG, "device found");
char *sharedsecret = PQgetvalue(res2, 0, 0); char *sharedsecret = PQgetvalue(res2, 0, 0);
char *active = PQgetvalue(res2, 0, 1); 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 { } else {
logmsg(LOG_ERR, "no device found"); logmsg(LOG_ERR, "no device found");
} }