summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Huerner <ingo.huerner@xse.de>2014-08-13 10:58:36 +0200
committerIngo Huerner <ingo.huerner@xse.de>2014-08-13 10:58:36 +0200
commit04e2e006dd596da9f9b4b3b644ad1f34b592f989 (patch)
treebf07964f97422a6414f5b426bc9018a23a5390c2
parentab465add39cf86f907a706163a97e9282344974a (diff)
downloadpersistence-client-library-04e2e006dd596da9f9b4b3b644ad1f34b592f989.tar.gz
Fixed bug 265
-rw-r--r--src/persistence_client_library_db_access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/persistence_client_library_db_access.c b/src/persistence_client_library_db_access.c
index 80e57cf..278e7dc 100644
--- a/src/persistence_client_library_db_access.c
+++ b/src/persistence_client_library_db_access.c
@@ -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