Fixed bug 265
authorIngo Huerner <ingo.huerner@xse.de>
Wed, 13 Aug 2014 08:58:36 +0000 (10:58 +0200)
committerIngo Huerner <ingo.huerner@xse.de>
Wed, 13 Aug 2014 08:58:36 +0000 (10:58 +0200)
src/persistence_client_library_db_access.c

index 80e57cf..278e7dc 100644 (file)
@@ -386,9 +386,8 @@ int persistence_set_data(char* dbPath, char* key, const char* resource_id, Persi
       int idx = custom_client_name_to_id(dbPath, 1);
       if(idx < PersCustomLib_LastEntry )
       {
-       if(gPersCustomFuncs[idx].custom_plugin_set_data != NULL)
+       if(gPersCustomFuncs[idx].custom_plugin_set_data == NULL)
        {
-
                                if (getCustomLoadingType(idx) == LoadType_OnDemand)
                                {
                                        // plugin not loaded, try to load the requested plugin