diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-31 11:17:24 +0200 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-03-31 11:17:24 +0200 |
commit | 26d2c0d58612fb233cc25b2739bcf96693f5cd85 (patch) | |
tree | 16baec844f4a5d9b5383d91589fe4c8f74eec725 /src/namestore/plugin_rest_namestore.c | |
parent | b5660e0a33f4c7a819de0b5056172f78f912e352 (diff) | |
parent | ca4c9eae269c34765df26699fe756860c7827693 (diff) | |
download | gnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.tar.gz gnunet-26d2c0d58612fb233cc25b2739bcf96693f5cd85.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r-- | src/namestore/plugin_rest_namestore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c index edcbeb874..ae93e5eff 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/namestore/plugin_rest_namestore.c | |||
@@ -375,6 +375,8 @@ get_egoentry_namestore (struct RequestHandle *handle, char *name) | |||
375 | if (NULL == name) | 375 | if (NULL == name) |
376 | return NULL; | 376 | return NULL; |
377 | tmp = strtok (copy, "/"); | 377 | tmp = strtok (copy, "/"); |
378 | if (NULL == tmp) | ||
379 | return NULL; | ||
378 | for (ego_entry = ego_head; NULL != ego_entry; | 380 | for (ego_entry = ego_head; NULL != ego_entry; |
379 | ego_entry = ego_entry->next) | 381 | ego_entry = ego_entry->next) |
380 | { | 382 | { |