diff --git a/QnetDB.cpp b/QnetDB.cpp index f76c81e..927cc8b 100644 --- a/QnetDB.cpp +++ b/QnetDB.cpp @@ -179,6 +179,8 @@ bool CQnetDB::UpdateLS(const char *address, const char from_mod, const char *to_ std::stringstream sql; sql << "INSERT OR REPLACE INTO LINKSTATUS (ip_address, from_mod, to_callsign, to_mod, linked_time) VALUES ('" << address << "', '" << from_mod << "', '" << to_callsign << "', '" << to_mod << "', " << linked_time << ");"; +printf("%s\n", sql.str().c_str()); + char *eMsg; if (SQLITE_OK != sqlite3_exec(db, sql.str().c_str(), NULL, 0, &eMsg)) {