aboutsummaryrefslogtreecommitdiff
path: root/win/show.py
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2011-04-21 20:32:26 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-21 20:53:38 +0200
commit47dd9a4d7b2930f6e1b5d6f0ce0c154efc87ac29 (patch)
tree63f49acf1c0acbe69bfe3d9fa49ada80e8117879 /win/show.py
parentFixed a bug with GUI icon deletion on upgrade from 2.2-RC or earlier (diff)
downloadopenvpn-47dd9a4d7b2930f6e1b5d6f0ce0c154efc87ac29.tar.xz
Improve the mysprintf() issue in openvpnserv.c
A quick and dirty compile fix was introduced in commit 77d244050964525417, and was accepted under the condition that it would be a temporary fix. As the usage of _snprintf() is realy not ideal on Windows, this patch uses the same well tested openvpn_snprintf() function from buffer.c. It was a longer discussion of several possibilities to re-use that code, but in the end it seemed easier to just copy-paste this function to openvpnserv.c for now. The reason for this conclusion was that the function is really simple, well defined and will most likely not be changed much in the future. It is also added a comment in openvpnserv.c where this function has its origins. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> Acked-by: James Yonan <james@openvpn.net> (cherry picked from commit df5a4380c3931520d5fae2b18f0fc2e67a883aae)
Diffstat (limited to 'win/show.py')
0 files changed, 0 insertions, 0 deletions