[63434] trunk/base/src/cregistry/entry.c

jmr at macports.org jmr at macports.org
Thu Feb 4 17:18:10 PST 2010


Revision: 63434
          http://trac.macports.org/changeset/63434
Author:   jmr at macports.org
Date:     2010-02-04 17:18:10 -0800 (Thu, 04 Feb 2010)
Log Message:
-----------
set error code in reg_entry_propget

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

Modified: trunk/base/src/cregistry/entry.c
===================================================================
--- trunk/base/src/cregistry/entry.c	2010-02-05 01:17:22 UTC (rev 63433)
+++ trunk/base/src/cregistry/entry.c	2010-02-05 01:18:10 UTC (rev 63434)
@@ -688,6 +688,8 @@
                     if (text) {
                         *value = strdup(text);
                         result = 1;
+                    } else {
+                        reg_sqlite_error(reg->db, errPtr, query);
                     }
                     break;
                 case SQLITE_DONE:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100204/b0beebb6/attachment.html>


More information about the macports-changes mailing list