You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@hyperreal.org on 1999/10/14 04:53:16 UTC
cvs commit: apache-2.0/src/lib/apr/threadproc/os2 thread.c
bjh 99/10/13 19:53:16
Modified: src/lib/apr/threadproc/os2 thread.c
Log:
OS/2: Fix a warning and parameter order to ap_create_threadattr()
Revision Changes Path
1.5 +2 -1 apache-2.0/src/lib/apr/threadproc/os2/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/thread.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- thread.c 1999/10/11 17:52:13 1.4
+++ thread.c 1999/10/14 02:53:16 1.5
@@ -58,6 +58,7 @@
#include "apr_general.h"
#include "apr_lib.h"
#include "fileio.h"
+#include <stdlib.h>
#define INCL_DOS
#include <os2.h>
@@ -124,7 +125,7 @@
}
if (attr == NULL) {
- stat = ap_create_threadattr(thread->cntxt, &thread->attr);
+ stat = ap_create_threadattr(&thread->attr, thread->cntxt);
if (stat != APR_SUCCESS) {
return stat;