static int timestamp;
#ifndef _WIN32
static int background;
-static int use_syslog = 0;
-int wrote_pid = 0;
-static char *pidfile = NULL;
+static int use_syslog; /* static variable initialised to 0 */
+static int wrote_pid; /* static variable initialised to 0 */
+static char *pidfile; /* static variable initialised to NULL */
#endif
static int do_passphrase_from_fsid;
static int non_inter;
}
-static FILE *config_file = NULL;
-static int config_line_num = 0;
+static FILE *config_file; /* static variable initialised to NULL */
+static int config_line_num; /* static variable initialised to 0 */
static char *xstrdup(const char *arg)
{
static int next_option(int argc, char **argv, char **config_arg)
{
/* These get re-used */
- static char *line_buf = NULL;
- static size_t line_size = 0;
+ static char *line_buf; /* static variable initialised to NULL */
+ static size_t line_size; /* static variable initialised to 0 */
ssize_t llen;
int opt, optlen = 0;
char *opt_id;
char *value;
};
-static struct form_field *form_fields = NULL;
+static struct form_field *form_fields; /* static variable initialised to NULL */
static void add_form_field(char *arg)
{
return 0;
}
- static int badossl_bitched = 0;
+ static int badossl_bitched; /* static variable initialised to 0 */
if (((OPENSSL_VERSION_NUMBER >= 0x100000b0L && OPENSSL_VERSION_NUMBER <= 0x100000c0L) ||
(OPENSSL_VERSION_NUMBER >= 0x10001040L && OPENSSL_VERSION_NUMBER <= 0x10001060L) ||
OPENSSL_VERSION_NUMBER == 0x10002000L) && !badossl_bitched) {
else if (iph->ip_v == 4)
type = AF_INET;
else {
- static int complained = 0;
+ static int complained; /* static variable initialised to 0 */
if (!complained) {
complained = 1;
vpn_progress(vpninfo, PRG_ERR,