projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7cc55
)
return error if filename could not be expanded
author
Nils Durner
<durner@gnunet.org>
Mon, 24 Aug 2009 20:07:53 +0000
(20:07 +0000)
committer
Nils Durner
<durner@gnunet.org>
Mon, 24 Aug 2009 20:07:53 +0000
(20:07 +0000)
src/util/configuration.c
patch
|
blob
|
history
diff --git
a/src/util/configuration.c
b/src/util/configuration.c
index ff177d9661726ef0089c04f08d6726722fad5eb6..0ce672dd9bb16ba8397e683be7d7d764c194656f 100644
(file)
--- a/
src/util/configuration.c
+++ b/
src/util/configuration.c
@@
-602,6
+602,8
@@
GNUNET_CONFIGURATION_get_value_filename (const struct GNUNET_CONFIGURATION_Handl
tmp = GNUNET_CONFIGURATION_expand_dollar (data, tmp);
*value = GNUNET_STRINGS_filename_expand (tmp);
GNUNET_free (tmp);
+ if (*value == NULL)
+ ret = GNUNET_SYSERR;
}
else
{