diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-18 07:25:47 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-07-18 07:25:47 +0000 |
commit | de6dbb5fe282eea69e5eaf0e922147a1a1ce5bf5 (patch) | |
tree | 50755eb7436d587a3d030511477f3961f3420e71 /options.c | |
parent | status_printf function will now set error flag on (diff) | |
download | openvpn-de6dbb5fe282eea69e5eaf0e922147a1a1ce5bf5.tar.xz |
Fixed format string issue in read_inline_file,
used in the config file parser.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3078 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2898,7 +2898,7 @@ read_inline_file (struct in_src *is, const char *close_tag, struct gc_arena *gc) { if (!strncmp (line, close_tag, strlen (close_tag))) break; - buf_printf (&buf, line); + buf_printf (&buf, "%s", line); } ret = string_alloc (BSTR (&buf), gc); buf_clear (&buf); |