OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [email protected] Module: openpkg-src Date: 23-Dec-2008 20:58:59 Branch: HEAD Handle: 2008122319585900 Modified files: openpkg-src/sasl sasl.patch Log: fix linking against SQLite Summary: Revision Changes Path 1.24 +3 -3 openpkg-src/sasl/sasl.patch ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/sasl/sasl.patch ============================================================================ $ cvs diff -u -r1.23 -r1.24 sasl.patch --- openpkg-src/sasl/sasl.patch 23 Dec 2008 10:19:00 -0000 1.23 +++ openpkg-src/sasl/sasl.patch 23 Dec 2008 19:58:59 -0000 1.24 @@ -248,7 +248,7 @@ + zErrMsg = (char *)sqlite3_errmsg(db); utils->log(NULL, SASL_LOG_ERR, "sql plugin: %s", zErrMsg); - sqlite_freemem (zErrMsg); -+ sqlite3_freemem (zErrMsg); ++ sqlite3_free (zErrMsg); + sqlite3_close (db); return NULL; } @@ -259,7 +259,7 @@ utils->log(NULL, SASL_LOG_ERR, "sql plugin: %s", zErrMsg); - sqlite_freemem (zErrMsg); - sqlite_close(db); -+ sqlite3_freemem (zErrMsg); ++ sqlite3_free (zErrMsg); + sqlite3_close(db); return NULL; } @@ -273,7 +273,7 @@ if (rc != SQLITE_OK && rc != SQLITE_ABORT) { utils->log(NULL, SASL_LOG_DEBUG, "sql plugin: %s ", zErrMsg); - sqlite_freemem (zErrMsg); -+ sqlite3_freemem (zErrMsg); ++ sqlite3_free (zErrMsg); return -1; } @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List [email protected]
