Revert "Fixed bug when plugins are loaded as g_strplit returns an empty plugin_type...
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 31 Dec 2014 19:07:18 +0000 (21:07 +0200)
committerAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 31 Dec 2014 19:07:18 +0000 (21:07 +0200)
This reverts commit 223e97eb9de7afd7699d5dadec6e0370617bff57.

src/daemon/plugins/gsignond-plugin-remote.c

index 299ba53..f2a108e 100644 (file)
@@ -492,13 +492,6 @@ gsignond_plugin_remote_new (
     GSignondPipeStream *stream = NULL;
     gboolean ret = FALSE;
 
-    if (!loader_path || strlen(loader_path) == 0 ||
-        !plugin_type || strlen(plugin_type) == 0) {
-        DBG ("Invalid loader path %s or plugin type %s",
-            loader_path?loader_path:"null", plugin_type?plugin_type:"null");
-        return NULL;
-    }
-
     /* This guarantees that writes to a pipe will never cause
      * a process terminanation via SIGPIPE, and instead a proper
      * error will be returned */