]> git.cworth.org Git - notmuch/blobdiff - lib/config.cc
lib: fix error return bug with n_d_set_config.
[notmuch] / lib / config.cc
index 292f0288d7ef2f95e171efe9bf63b4bd8fe42c64..200364715a634bb6c469c88a1d4ef2d650820e12 100644 (file)
@@ -60,7 +60,7 @@ notmuch_database_set_config (notmuch_database_t *notmuch,
        _notmuch_database_log (notmuch, "Error: A Xapian exception occurred setting metadata: %s\n",
                               error.get_msg ().c_str ());
     }
-    return NOTMUCH_STATUS_SUCCESS;
+    return status;
 }
 
 static notmuch_status_t