From 6b4d249cb1aafbfaee18e7f2157eeff70cbda3a6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Nov 2016 02:57:40 +0000 Subject: [PATCH] fix cookie error --- .gitignore | 1 + plugin_manager.c | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 03063ec..6294dc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # Prerequisites +*._* *.d # Object files diff --git a/plugin_manager.c b/plugin_manager.c index bd84f8f..3e22397 100644 --- a/plugin_manager.c +++ b/plugin_manager.c @@ -140,6 +140,7 @@ dictionary decode_cookie(const char* line) if(dic == NULL) dic = dict(); LOG("Found cookie : %s = %s\n",token1,token); + trim(token1,' '); dput(dic,token1,token); } }