]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-afslogon-code-init-20050829
authorEric Williams <ericjw@citi.umich.edu>
Mon, 29 Aug 2005 20:39:56 +0000 (20:39 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 29 Aug 2005 20:39:56 +0000 (20:39 +0000)
Init 'code' to prevent false errors when integrated logon is disabled
and the service is not running

src/WINNT/afsd/afslogon.c

index 506ea71bd4912a70ddc71aadab77b13fed674121..8903bfede8f6b9c86bc597af1c8bcefe9f20d08f 100644 (file)
@@ -657,7 +657,7 @@ DWORD APIENTRY NPLogonNotify(
 
     MSV1_0_INTERACTIVE_LOGON *IL;
 
-    DWORD code, code2;
+    DWORD code = 0, code2;
 
     int pw_exp;
     char *reason;