tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r475141 - /tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
Date Wed, 15 Nov 2006 07:22:19 GMT
Author: mturk
Date: Tue Nov 14 23:22:19 2006
New Revision: 475141

URL: http://svn.apache.org/viewvc?view=rev&rev=475141
Log:
Use pointer for storage.

Modified:
    tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c

Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?view=diff&rev=475141&r1=475140&r2=475141
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Tue Nov 14 23:22:19 2006
@@ -1485,7 +1485,7 @@
     DWORD sz   = sizeof(DWORD);
     LONG lrc;
 
-    lrc = RegQueryValueEx(hkey, tag, (LPDWORD) 0, &type, (LPBYTE)data, &sz);
+    lrc = RegQueryValueEx(hkey, tag, (LPDWORD)0, &type, (LPBYTE)&data, &sz);
     if ((ERROR_SUCCESS != lrc) || (type != REG_DWORD)) {
         return JK_FALSE;
     }



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


Mime
View raw message