tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r525491 - /tomcat/connectors/trunk/jni/native/src/proc.c
Date Wed, 04 Apr 2007 11:19:31 GMT
Author: mturk
Date: Wed Apr  4 04:19:28 2007
New Revision: 525491

URL: http://svn.apache.org/viewvc?view=rev&rev=525491
Log:
Add missing get_env function

Modified:
    tomcat/connectors/trunk/jni/native/src/proc.c

Modified: tomcat/connectors/trunk/jni/native/src/proc.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/proc.c?view=diff&rev=525491&r1=525490&r2=525491
==============================================================================
--- tomcat/connectors/trunk/jni/native/src/proc.c (original)
+++ tomcat/connectors/trunk/jni/native/src/proc.c Wed Apr  4 04:19:28 2007
@@ -52,6 +52,7 @@
 
     if (data) {
         JNIEnv *env;
+        tcn_get_java_env(&env);
         if (!TCN_IS_NULL(env, cb->obj)) {
             TCN_UNLOAD_CLASS(env, cb->obj);
         }
@@ -178,13 +179,11 @@
     apr_pool_t *p = J2P(pool, apr_pool_t *);
     apr_proc_t *proc;
 
-
     UNREFERENCED_STDARGS;
     proc = (apr_proc_t *)apr_pcalloc(p, sizeof(apr_proc_t));
 
     return P2J(proc);
 }
-
 
 #define MAX_ARGS_SIZE 1024
 #define MAX_ENV_SIZE  1024



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message