diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-06 11:42:48 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-06 11:47:31 +0100 |
commit | 7215b1f69aad2f12a8bc1e3647eaf0425d45f63b (patch) | |
tree | 1e0055f2ff1bdfae08736d760e40f45f6c4c1f21 /source3 | |
parent | 439fe513c168955194730904f6ec5c7ddb4f972c (diff) | |
download | samba-7215b1f69aad2f12a8bc1e3647eaf0425d45f63b.tar.gz samba-7215b1f69aad2f12a8bc1e3647eaf0425d45f63b.tar.bz2 samba-7215b1f69aad2f12a8bc1e3647eaf0425d45f63b.zip |
Fix an uninitialized variable, Coverity ID 481
(This used to be commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libaddns/dnssock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libaddns/dnssock.c b/source3/libaddns/dnssock.c index 72bbf60d45..7c8bd418e5 100644 --- a/source3/libaddns/dnssock.c +++ b/source3/libaddns/dnssock.c @@ -118,6 +118,7 @@ static DNS_ERROR dns_udp_open( const char *nameserver, the receiver (in this example case "123.456.789.1") and the specified port number. */ + ZERO_STRUCT(RecvAddr); RecvAddr.sin_family = AF_INET; RecvAddr.sin_port = htons( DNS_UDP_PORT ); RecvAddr.sin_addr.s_addr = ulAddress; |