summaryrefslogtreecommitdiff
path: root/obexd/client/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'obexd/client/map.c')
-rw-r--r--obexd/client/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/obexd/client/map.c b/obexd/client/map.c
index d2d3d81a..57e9a35b 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
@@ -1131,7 +1131,8 @@ static void msg_element(GMarkupParseContext *ctxt, const char *element,
for (parser = msg_parsers; parser && parser->name; parser++) {
if (strcasecmp(key, parser->name) == 0) {
- parser->func(msg, values[i]);
+ if(values[i])
+ parser->func(msg, values[i]);
break;
}
}