[82961] trunk/base/src/cregistry/registry.c

raimue at macports.org raimue at macports.org
Mon Aug 22 12:05:11 PDT 2011


Revision: 82961
          http://trac.macports.org/changeset/82961
Author:   raimue at macports.org
Date:     2011-08-22 12:05:11 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
Fix dumb pointer dereference mistake from r82949

Revision Links:
--------------
    http://trac.macports.org/changeset/82949

Modified Paths:
--------------
    trunk/base/src/cregistry/registry.c

Modified: trunk/base/src/cregistry/registry.c
===================================================================
--- trunk/base/src/cregistry/registry.c	2011-08-22 18:30:57 UTC (rev 82960)
+++ trunk/base/src/cregistry/registry.c	2011-08-22 19:05:11 UTC (rev 82961)
@@ -110,7 +110,7 @@
     }
     if (sqlite3_open(NULL, &reg->db) == SQLITE_OK) {
         /* Enable extended status codes*/
-        sqlite3_extended_result_codes(&reg->db, 1);
+        sqlite3_extended_result_codes(reg->db, 1);
 
         if (init_db(reg->db, errPtr)) {
             reg->status = reg_none;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/ab527bdc/attachment.html>


More information about the macports-changes mailing list