summaryrefslogtreecommitdiff
path: root/src/htsencoding.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-02 15:13:29 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-02 15:13:29 +0000
commit5544f503bf0fcfd050b4e338e8ec7b22e2f53b9a (patch)
tree2d65f1fd285c450cbb1c676697ad13b5a47a835c /src/htsencoding.h
parentb3fa8537c411e6e2d53044b1d5d20c361d2ad17d (diff)
Big cleanup in functions writing to a char buffer without proper size boundary.
Diffstat (limited to 'src/htsencoding.h')
-rw-r--r--src/htsencoding.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/htsencoding.h b/src/htsencoding.h
index 01def33..ad5fee3 100644
--- a/src/htsencoding.h
+++ b/src/htsencoding.h
@@ -86,8 +86,7 @@ extern int hts_unescapeUrl(const char *src, char *dest, const size_t max);
* Note: source and destination MUST NOT be the same.
* Returns 0 upon success, -1 upon overflow or error.
**/
-extern int hts_unescapeUrlSpecial(const char *src,
- char *dest, const size_t max,
- int flags);
+extern int hts_unescapeUrlSpecial(const char *src, char *dest, const size_t max,
+ const int flags);
#endif