]> code.citadel.org Git - citadel.git/commitdiff
* user_ops.c: missing string declaration or something?
authorArt Cancro <ajc@citadel.org>
Tue, 9 Dec 2003 03:56:29 +0000 (03:56 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 9 Dec 2003 03:56:29 +0000 (03:56 +0000)
citadel/ChangeLog
citadel/user_ops.c

index f7d981df83edbceff4ace611c0e6bb660f75ab0e..b700052a83bb93b717cf754ba0a18102920cb2ea 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 612.6  2003/12/09 03:56:29  ajc
+ * user_ops.c: missing string declaration or something?
+
  Revision 612.5  2003/12/08 17:41:01  ajc
  * serv_smtp.c: validated and documented compliance with a big pile of RFC's
    which are in one way or another related to SMTP.
@@ -5116,3 +5119,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
 
+
index 0ee92bd9036a004eb8f8483ec87f2238a948ea59..c72b0ff7195b6f5b3e99a3ace2360903c99958f0 100644 (file)
@@ -966,7 +966,7 @@ void cmd_creu(char *cmdbuf)
        if (a == 0) {
                if (strlen(password) > 0) {
                        lgetuser(&tmp, username);
-                       safestrncpy(tmp.password, new_pw, sizeof(tmp.password));
+                       safestrncpy(tmp.password, password, sizeof(tmp.password));
                        lputuser(&tmp);
                }
                cprintf("%d User '%s' created %s.\n", CIT_OK, username,