From: John Hodge Date: Thu, 3 Mar 2011 13:32:34 +0000 (+0800) Subject: Removed debug from cokebank X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8b29fa5c5682518aa42b7502c3ca33adaaeaecf8;p=tpg%2Fopendispense2.git Removed debug from cokebank --- diff --git a/src/cokebank_sqlite/main.c b/src/cokebank_sqlite/main.c index 7237273..bf4d3f2 100644 --- a/src/cokebank_sqlite/main.c +++ b/src/cokebank_sqlite/main.c @@ -131,7 +131,7 @@ int Bank_Transfer(int SourceUser, int DestUser, int Ammount, const char *Reason) // Take from the source query = mkstr("UPDATE accounts SET acct_balance=acct_balance-%i,acct_last_seen=datetime('now') WHERE acct_id=%i", Ammount, SourceUser); - printf("query = \"%s\"\n", query); +// printf("query = \"%s\"\n", query); rv = sqlite3_exec(gBank_Database, query, NULL, NULL, &errmsg); free(query); if( rv != SQLITE_OK ) @@ -144,7 +144,7 @@ int Bank_Transfer(int SourceUser, int DestUser, int Ammount, const char *Reason) // Give to the destination query = mkstr("UPDATE accounts SET acct_balance=acct_balance+%i,acct_last_seen=datetime('now') WHERE acct_id=%i", Ammount, DestUser); - printf("query = \"%s\"\n", query); +// printf("query = \"%s\"\n", query); rv = sqlite3_exec(gBank_Database, query, NULL, NULL, &errmsg); free(query); if( rv != SQLITE_OK )