diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-10-02 00:57:23 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-10-02 00:57:23 +0000 |
commit | 00d30690a9ccf9f94d529a2a1ab1caf5364147c0 (patch) | |
tree | 545d75a45f5d3a212244ff84974a88b24234bff8 /lasso | |
parent | bc294467735f6f23b4c15290f27c3ba37065c371 (diff) | |
download | lasso-00d30690a9ccf9f94d529a2a1ab1caf5364147c0.tar.gz lasso-00d30690a9ccf9f94d529a2a1ab1caf5364147c0.tar.xz lasso-00d30690a9ccf9f94d529a2a1ab1caf5364147c0.zip |
Fixed a bug in lasso_query_to_dict() function
It occurred when a parameter didn't have a value.
Diffstat (limited to 'lasso')
-rw-r--r-- | lasso/xml/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index 17e17309..5142beae 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -423,7 +423,7 @@ lasso_query_to_dict(const gchar *query) continue; } /* if only a key but no value, then continue */ - if (sa2[1] == NULL) { + if (sa2[1] == NULL || xmlStrEqual(sa2[1], "")) { continue; } |