You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/10/25 14:09:31 UTC

svn commit: r467619 - /webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c

Author: nandika
Date: Wed Oct 25 05:09:30 2006
New Revision: 467619

URL: http://svn.apache.org/viewvc?view=rev&rev=467619
Log:
error corrected

Modified:
    webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c

Modified: webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c?view=diff&rev=467619&r1=467618&r2=467619
==============================================================================
--- webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c (original)
+++ webservices/axis2/trunk/c/rampart/samples/callback/htpasswd_callback/htpwcb.c Wed Oct 25 05:09:30 2006
@@ -16,6 +16,7 @@
         void *param)
 {
     axis2_char_t * password = NULL;
+    FILE *file = NULL;
     /*The default location is the following. But this will be overridden by the property values set in the meg_ctx*/
     axis2_char_t *filename = "/usr/local/apache2/passwd/passwords";
 
@@ -25,7 +26,6 @@
        AXIS2_LOG_INFO(env->log, "Using the default password file location %s", filename);
     }
 
-    FILE *file = NULL;
     
     file = fopen ( filename, "r" );
     if ( file != NULL )



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org