diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2009-08-09 18:42:29 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2009-08-09 18:42:29 -0700 |
commit | 9e1fe29bebf57fc38975c552eefaa9cb97dd5c68 (patch) | |
tree | 66fa5453d07640c3f20ecc1f1199ac49aa38a455 /src/common/compat.h | |
parent | cb477f9cc0c9d8d3fa50b06e9d3e0e057f41b75d (diff) | |
download | tor-9e1fe29bebf57fc38975c552eefaa9cb97dd5c68.tar.gz tor-9e1fe29bebf57fc38975c552eefaa9cb97dd5c68.zip |
Switch over to tor_strtok_r instead of strtok_r.
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 3d429486e8..edd09d8683 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -269,9 +269,9 @@ extern const char TOR_TOLOWER_TABLE[]; char *tor_strtok_r_impl(char *str, const char *sep, char **lasts); #ifdef HAVE_STRTOK_R -#define tor_strok_r(str, sep, lasts) strtok_r(str, sep, lasts) +#define tor_strtok_r(str, sep, lasts) strtok_r(str, sep, lasts) #else -#define tor_strok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts) +#define tor_strtok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts) #endif #ifdef MS_WINDOWS |