diff options
author | James Yonan <james@openvpn.net> | 2010-03-31 06:38:21 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-03-31 06:38:21 +0000 |
commit | 74fce85ee80ee5f484b62a3a81e9981e5698f1e1 (patch) | |
tree | b4723fb33b503ebd0cee953cd0263d0fb9740a89 /misc.c | |
parent | Set socket buffers (SO_SNDBUF and SO_RCVBUF) immediately after (diff) | |
download | openvpn-74fce85ee80ee5f484b62a3a81e9981e5698f1e1.tar.xz |
Updated MSVC build scripts to Visual Studio 2008:
python msvc\config.py
nmake /f msvc\msvc.mak
Version 2.1.1e
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5516 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1194,7 +1194,7 @@ create_temp_filename (const char *directory, const char *prefix, struct gc_arena const char * hostname_randomize(const char *hostname, struct gc_arena *gc) { - const int n_rnd_bytes = 6; +# define n_rnd_bytes 6 char *hst = string_alloc(hostname, gc); char *dot = strchr(hst, '.'); @@ -1213,6 +1213,7 @@ hostname_randomize(const char *hostname, struct gc_arena *gc) } else return hostname; +# undef n_rnd_bytes } #else |