"Robert Shearman" <[EMAIL PROTECTED]> wrote:

+    *hook_count = 0;
+    *extension_count = 0;
+
+    EnterCriticalSection(&csChannelHook);
+
+    LIST_FOR_EACH_ENTRY(entry, &channel_hooks, struct channel_hook_entry, 
entry)
+        (*hook_count)++;
+
+    if (hook_count)
+        *data = HeapAlloc(GetProcessHeap(), 0, *hook_count * sizeof(struct 
channel_hook_buffer_data));
+    else
+        *data = NULL;

Perhaps 'if (hook_count)' should be 'if (*hook_count)' ? Is that a typo?

--
Dmitry.


Reply via email to