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:
5cf1f3d
)
fix fmt string
author
Christian Grothoff
<christian@grothoff.org>
Sat, 7 Jul 2018 18:54:34 +0000
(20:54 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 7 Jul 2018 18:54:34 +0000
(20:54 +0200)
src/util/dnsparser.c
patch
|
blob
|
history
diff --git
a/src/util/dnsparser.c
b/src/util/dnsparser.c
index 6fb6d657f09f81f365b257b066f0bb8d3dcdc481..24f1b18cf47a0a1a29f51e2b55e6cb25bdc2d4d2 100644
(file)
--- a/
src/util/dnsparser.c
+++ b/
src/util/dnsparser.c
@@
-959,7
+959,7
@@
GNUNET_DNSPARSER_builder_add_name (char *dst,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Invalid DNS name `%s': label with %u characters encountered\n",
name,
- len);
+
(unsigned int)
len);
goto fail; /* label too long or empty */
}
dst[pos++] = (char) (uint8_t) len;