At 08:39 AM 5/11/2005, Brian Havard wrote:
>On Tue, 10 May 2005 23:36:57 -0000, [EMAIL PROTECTED] wrote:
>
>>+#ifdef MULTITHREAD
>>+    return ap_psprintf(p, "%x:%lx:%x", getpid(), time(NULL), next_id++);
>>+#else
>>+    return ap_psprintf(p, "%x:%x:%lx:%x", getpid(), gettid(), time(NULL), 
>>next_id++);
>>+#endif
>
>Isn't the logic backwards here? I'd expect gettid() to be used only if
>MULTITHREAD is defined.

Yes, now fixed in branches/1.3.x/ - thank you.


Reply via email to