diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-02 02:28:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-02 02:28:51 +0000 |
commit | 85c79ffbc7b965355c3b51cc81000d517089e74e (patch) | |
tree | eafeb903a90d64be26fb900f567528caa1916b5b /src/common/util.c | |
parent | 1433a0b26fcc1e48ac8001c5438e00d140dbf2a9 (diff) | |
download | tor-85c79ffbc7b965355c3b51cc81000d517089e74e.tar.gz tor-85c79ffbc7b965355c3b51cc81000d517089e74e.zip |
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 243c5393b8..60496d3940 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -367,6 +367,7 @@ tor_parse_long(const char *s, int base, long min, long max, return 0; } +#if 0 unsigned long tor_parse_ulong(const char *s, int base, unsigned long min, unsigned long max, int *ok, char **next) @@ -393,6 +394,7 @@ tor_parse_ulong(const char *s, int base, unsigned long min, if (next) *next = endptr; return 0; } +#endif void base16_encode(char *dest, size_t destlen, const char *src, size_t srclen) { @@ -873,7 +875,9 @@ char *read_file_to_str(const char *filename, int bin) { * that is whitespace or comment. * Return 1 if success, 0 if no more lines, -1 if error. */ -int parse_line_from_file(char *line, size_t maxlen, FILE *f, char **key_out, char **value_out) { +int +parse_line_from_file(char *line, size_t maxlen, FILE *f, + char **key_out, char **value_out) { char *s, *key, *end, *value; try_next_line: |