aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk/files/patch-bin_afppasswd_afppasswd.c
blob: 8d5838b9a6a02bfe70f16efb15dc4cfa1c659d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bin/afppasswd/afppasswd.c.orig  Thu Feb 20 00:04:51 2003
+++ bin/afppasswd/afppasswd.c   Thu Feb 20 00:04:57 2003
@@ -114,7 +114,7 @@
       /* decrypt the password */
       ecb_encrypt((C_Block *) buf, (C_Block *) buf, schedule, DES_DECRYPT);
     }
-    memset(schedule, 0, sizeof(schedule));      
+    memset(&schedule, 0, sizeof(schedule));      
   }
 
   if (newpwd) {