Browse code

Minor fixes for gcc (GCC) 4.0.2 warnings.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@905 e7ae566f-a301-0410-adde-c780ea21d3b5

james authored on 2006/02/23 22:14:55
Showing 4 changed files
... ...
@@ -25,7 +25,7 @@ dnl Process this file with autoconf to produce a configure script.
25 25
 
26 26
 AC_PREREQ(2.50)
27 27
 
28
-AC_INIT([OpenVPN], [2.1_beta11], [openvpn-users@lists.sourceforge.net], [openvpn])
28
+AC_INIT([OpenVPN], [2.1_beta11a], [openvpn-users@lists.sourceforge.net], [openvpn])
29 29
 AM_CONFIG_HEADER(config.h)
30 30
 AC_CONFIG_SRCDIR(syshead.h)
31 31
 
... ...
@@ -2979,7 +2979,7 @@ another application, such as an HTTPS server.  If OpenVPN
2979 2979
 senses a connection to its port which is using a non-OpenVPN
2980 2980
 protocol, it will proxy the connection to the server at
2981 2981
 .B host:port.
2982
-Currently only designed to work with HTTPS,
2982
+Currently only designed to work with HTTP/HTTPS,
2983 2983
 though it would be theoretically possible to extend to
2984 2984
 other protocols such as ssh.
2985 2985
 
... ...
@@ -43,8 +43,6 @@
43 43
 #include "pkcs11-helper.h"
44 44
 #include "pkcs11.h"
45 45
 
46
-#define snprintf openvpn_snprintf
47
-
48 46
 static
49 47
 void
50 48
 _pkcs11_openvpn_print (
... ...
@@ -856,7 +856,7 @@ port_share_abort (struct port_share *ps)
856 856
 bool
857 857
 is_openvpn_protocol (const struct buffer *buf)
858 858
 {
859
-  const unsigned char *p = BSTR (buf);
859
+  const unsigned char *p = (const unsigned char *) BSTR (buf);
860 860
   const int len = BLEN (buf);
861 861
   if (len >= 3)
862 862
     {