summaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-16 22:37:09 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-16 22:37:09 +0000
commit4fb01ce0ba7e581963e5e06ff69038ca37635a79 (patch)
tree02a54ba39f6555237bbcf05ce22a7527765a0220 /socket.c
parentb29452f4025bea4987d148134f80fecf897d1884 (diff)
downloadopenvpn-4fb01ce0ba7e581963e5e06ff69038ca37635a79.tar.gz
openvpn-4fb01ce0ba7e581963e5e06ff69038ca37635a79.tar.xz
openvpn-4fb01ce0ba7e581963e5e06ff69038ca37635a79.zip
In the Windows version of tun_finalize, on errors that would
return -1, set buf->len to 0 rather than -1. While downstream code is set up to consider the buffer invalidated if its length is <= 0, this change makes the code cleaner and safer. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3061 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions