/*
net.c -- most of the network code
Copyright (C) 1998-2005 Ivo Timmermans,
- 2000-2006 Guus Sliepen <guus@tinc-vpn.org>
+ 2000-2009 Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
void handle_meta_connection_data(int fd, short events, void *data) {
connection_t *c = data;
int result;
- socklen_t len = sizeof(result);
+ socklen_t len = sizeof result;
if(c->status.connecting) {
c->status.connecting = false;