Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/764fca4f3abfc7437003f...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/764fca4f3abfc7437003f49...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/764fca4f3abfc7437003f496d...
The branch, master has been updated
via 764fca4f3abfc7437003f496d52039ad7e6b779d (commit)
from 0c25ae5e8eb38b3b888a9bfdc0fcc6d53af17b04 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=764fca4f3abfc743700...
commit 764fca4f3abfc7437003f496d52039ad7e6b779d
Author: Daniel Silverstone <dsilvers(a)digital-scurf.org>
Commit: Daniel Silverstone <dsilvers(a)digital-scurf.org>
utils/utf8.c: Fix missing format string for snprintf
Signed-off-by: Daniel Silverstone <dsilvers(a)digital-scurf.org>
diff --git a/utils/utf8.c b/utils/utf8.c
index 84918cc..7091ad4 100644
--- a/utils/utf8.c
+++ b/utils/utf8.c
@@ -185,7 +185,7 @@ get_cached_cd(const char *enc_from, const char *enc_to, iconv_t
*cd_out)
}
/* and safely copy the to/from/cd data into last_cd */
- snprintf(last_cd.from, sizeof(last_cd.from), enc_from);
+ snprintf(last_cd.from, sizeof(last_cd.from), "%s", enc_from);
snprintf(last_cd.to, sizeof(last_cd.to), "%s", enc_to);
*cd_out = last_cd.cd = cd;
-----------------------------------------------------------------------
Summary of changes:
utils/utf8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/utf8.c b/utils/utf8.c
index 84918cc..7091ad4 100644
--- a/utils/utf8.c
+++ b/utils/utf8.c
@@ -185,7 +185,7 @@ get_cached_cd(const char *enc_from, const char *enc_to, iconv_t
*cd_out)
}
/* and safely copy the to/from/cd data into last_cd */
- snprintf(last_cd.from, sizeof(last_cd.from), enc_from);
+ snprintf(last_cd.from, sizeof(last_cd.from), "%s", enc_from);
snprintf(last_cd.to, sizeof(last_cd.to), "%s", enc_to);
*cd_out = last_cd.cd = cd;
--
NetSurf Browser