From 56e4a9dd2b8d1e0f7020ad607e1763836d9948a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 14 Oct 2005 12:51:51 +0000 Subject: r11030: r10338@SERNOX: metze | 2005-09-20 09:20:49 +0200 fix uninitialized variable metze (This used to be commit e6fb40e51d2742c05c2fbbb96f367710e46ba7ae) --- source4/nbt_server/wins/winsserver.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/nbt_server/wins') diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c index ddb4c6cc6c..37b59cdc7f 100644 --- a/source4/nbt_server/wins/winsserver.c +++ b/source4/nbt_server/wins/winsserver.c @@ -55,6 +55,7 @@ static uint8_t wins_register_new(struct nbt_name_socket *nbtsock, rec.name = name; rec.nb_flags = nb_flags; rec.state = WINS_REC_ACTIVE; + rec.wins_owner = WINSDB_OWNER_LOCAL; rec.expire_time = time(NULL) + ttl; rec.registered_by = src->addr; rec.addresses = winsdb_addr_list_make(packet); -- cgit