summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2014-12-31 21:07:18 +0200
committerAlexander Kanavin <alex.kanavin@gmail.com>2014-12-31 21:07:18 +0200
commitb1fc9fc7278bf7b0555bebb3cbdbf5b96b5736c7 (patch)
tree9ca8960d120dba9ba3d938f9a55e25aa588659d5
parent2a291635eb7042ef4b3e61088c0b300b69604431 (diff)
downloadgsignond-b1fc9fc7278bf7b0555bebb3cbdbf5b96b5736c7.tar.gz
gsignond-b1fc9fc7278bf7b0555bebb3cbdbf5b96b5736c7.tar.bz2
gsignond-b1fc9fc7278bf7b0555bebb3cbdbf5b96b5736c7.zip
Revert "Fixed bug when plugins are loaded as g_strplit returns an empty plugin_type because \n delimiter"
This reverts commit 223e97eb9de7afd7699d5dadec6e0370617bff57.
-rw-r--r--src/daemon/plugins/gsignond-plugin-remote.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/daemon/plugins/gsignond-plugin-remote.c b/src/daemon/plugins/gsignond-plugin-remote.c
index 299ba53..f2a108e 100644
--- a/src/daemon/plugins/gsignond-plugin-remote.c
+++ b/src/daemon/plugins/gsignond-plugin-remote.c
@@ -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 */