author | Michael Krelin <hacker@klever.net> | 2008-02-11 21:17:44 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-02-11 21:17:44 (UTC) |
commit | a3eba4c33fee80fcf152dcbd198586e12b687e54 (patch) (side-by-side diff) | |
tree | 1059019be6d1b83f3336872d7fe054e5faa48d20 | |
parent | 947098ee2ab09c340e6822f2bfce7570388c86b4 (diff) | |
download | libopkele-a3eba4c33fee80fcf152dcbd198586e12b687e54.zip libopkele-a3eba4c33fee80fcf152dcbd198586e12b687e54.tar.gz libopkele-a3eba4c33fee80fcf152dcbd198586e12b687e54.tar.bz2 |
more cleanup
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | test/RP.cc | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -239,25 +239,24 @@ class example_rp_t : public opkele::prequeue_RP { void next_endpoint() { assert(as_id>=0); get_endpoint(); have_eqtop = false; sqlite3_mem_t<char*> S = sqlite3_mprintf( "DELETE FROM endpoints_queue" " WHERE as_id=%ld AND eq_uri=%Q AND eq_local_id=%Q", htc.get_value().c_str(),as_id, eqtop.uri.c_str()); db.exec(S); } - mutable string _cid; mutable string _nid; void set_normalized_id(const string& nid) { assert(as_id>=0); sqlite3_mem_t<char*> S = sqlite3_mprintf( "UPDATE auth_sessions" " SET as_normalized_id=%Q" " WHERE hts_id=%Q and as_id=%ld", nid.c_str(), htc.get_value().c_str(),as_id); db.exec(S); _nid = nid; |