winhttp: Don't try and call a null callback.

This commit is contained in:
Paul TBBle Hampson 2008-12-31 18:59:02 +11:00 committed by Alexandre Julliard
parent 4876375ab8
commit 04b8ec07a6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ void send_callback( object_header_t *hdr, DWORD status, LPVOID info, DWORD bufle
{ {
TRACE("%p, 0x%08x, %p, %u\n", hdr, status, info, buflen); TRACE("%p, 0x%08x, %p, %u\n", hdr, status, info, buflen);
if (hdr->notify_mask & status) hdr->callback( hdr->handle, hdr->context, status, info, buflen ); if (hdr->callback && (hdr->notify_mask & status)) hdr->callback( hdr->handle, hdr->context, status, info, buflen );
} }
/*********************************************************************** /***********************************************************************