/[Apache-SVN]/tomcat/connectors/trunk/jni/native/src/ssl.c
ViewVC logotype

Diff of /tomcat/connectors/trunk/jni/native/src/ssl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- tomcat/connectors/trunk/jni/native/src/ssl.c	2006/04/13 06:40:50	393734
+++ tomcat/connectors/trunk/jni/native/src/ssl.c	2006/04/13 06:41:49	393735
@@ -200,7 +200,7 @@ static unsigned long ssl_thread_id(void)
 
     return psaptr->PSATOLD;
 #else
-    return (unsigned long)((jlong)apr_os_thread_current());
+    return (unsigned long)(apr_os_thread_current());
 #endif
 }
 
@@ -371,7 +371,7 @@ TCN_IMPLEMENT_CALL(jint, SSL, initialize
     }
     if (SSLeay() < 0x0090700L) {
         TCN_FREE_CSTRING(engine);
-        return (jint)APR_EINVAL;        
+        return (jint)APR_EINVAL;
     }
     /* We must register the library in full, to ensure our configuration
      * code can successfully test the SSL environment.

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26