Commit 4f4b3be5 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dplayx: First name server address may be null.

parent e3595a21
...@@ -163,7 +163,10 @@ LPVOID NS_GetNSAddr( LPVOID lpNSInfo ) ...@@ -163,7 +163,10 @@ LPVOID NS_GetNSAddr( LPVOID lpNSInfo )
* in place. * in place.
*/ */
#if 1 #if 1
return lpCache->first.lpQHFirst->lpNSAddrHdr; if ( lpCache->first.lpQHFirst )
return lpCache->first.lpQHFirst->lpNSAddrHdr;
return NULL;
#else #else
/* FIXME: Should convert over to this */ /* FIXME: Should convert over to this */
return lpCache->bNsIsLocal ? lpCache->lpLocalAddrHdr return lpCache->bNsIsLocal ? lpCache->lpLocalAddrHdr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment