osmo-pcap-server: Initialize local_fd with -1 otherwise

This commit is contained in:
Holger Hans Peter Freyther 2011-06-01 16:32:29 +02:00
parent e6acfea051
commit dc3d1dcd59
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ struct osmo_pcap_conn *osmo_pcap_server_find(struct osmo_pcap_server *server,
conn->name = talloc_strdup(conn, name);
conn->rem_fd.fd = -1;
conn->local_fd = -1;
conn->server = server;
llist_add_tail(&conn->entry, &server->conn);
return conn;