From 227e9c014cc82983736c469908859f71ba6fb769 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Tue, 13 Apr 2021 13:38:38 -0700 Subject: [PATCH] another UdateMessage syntax --- QnetDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetDB.cpp b/QnetDB.cpp index 35624ea..2ca0bcf 100644 --- a/QnetDB.cpp +++ b/QnetDB.cpp @@ -139,7 +139,7 @@ bool CQnetDB::UpdateMessage(const char *callsign, const char *message) if (NULL == db) return false; std::stringstream sql; - sql << "UPDATE LHEARD SET message = '" << message << "',lasttime = strftime('%s','now')) WHERE callsign='" << callsign << "';"; + sql << "UPDATE LHEARD SET message = '" << message << "',lasttime = strftime('%s','now') WHERE callsign='" << callsign << "';"; char *eMsg; if (SQLITE_OK != sqlite3_exec(db, sql.str().c_str(), NULL, 0, &eMsg))