Mailing List Archive

svn commit: r1902636 - /httpd/httpd/trunk/server/mpm/winnt/child.c
Author: ylavic
Date: Sun Jul 10 16:58:00 2022
New Revision: 1902636

URL: http://svn.apache.org/viewvc?rev=1902636&view=rev
Log:
mpm_winnt: Fix compilation error.

server\mpm\winnt\child.c(1210,1): error C2440: 'initializing': cannot convert from 'worker_info' to 'worker_info *'


Modified:
httpd/httpd/trunk/server/mpm/winnt/child.c

Modified: httpd/httpd/trunk/server/mpm/winnt/child.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/child.c?rev=1902636&r1=1902635&r2=1902636&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/child.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/child.c Sun Jul 10 16:58:00 2022
@@ -1207,7 +1207,7 @@ void child_main(apr_pool_t *pconf, DWORD

while (threads_created)
{
- struct worker_info *info = workers[threads_created - 1];
+ struct worker_info *info = &workers[threads_created - 1];
DWORD dwRet;

if (time_remains < 0)