aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_uri.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-11 22:48:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-11 22:48:04 +0000
commite1ff0291a39991e4ce025ece424ca8fae82fd88b (patch)
treee6ee7cb6be3c393c67e43dbcab30199ddb26a34a /src/fs/fs_uri.c
parent9f2d6b1be912f09e47c30b2ac7b79a9c5e7bdecc (diff)
downloadgnunet-e1ff0291a39991e4ce025ece424ca8fae82fd88b.tar.gz
gnunet-e1ff0291a39991e4ce025ece424ca8fae82fd88b.zip
-LRN: use plibc SSCANF instead of sscanf
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r--src/fs/fs_uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index 43cf2c5bd..db9b7d166 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -214,7 +214,7 @@ percent_decode_keyword (const char *in, char **emsg)
214 { 214 {
215 if (out[rpos] == '%') 215 if (out[rpos] == '%')
216 { 216 {
217 if (1 != sscanf (&out[rpos + 1], "%2X", &hx)) 217 if (1 != SSCANF (&out[rpos + 1], "%2X", &hx))
218 { 218 {
219 GNUNET_free (out); 219 GNUNET_free (out);
220 *emsg = GNUNET_strdup (_("`%' must be followed by HEX number")); 220 *emsg = GNUNET_strdup (_("`%' must be followed by HEX number"));