]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/makeuserkey.c
Grammar change in the license declaration.
[citadel.git] / citadel / server / makeuserkey.c
index 5729034a504c0ed423951c03b12cae5fc8004f3b..9fd3bb64e3d43933c1a9bc9ac5cfdeeb87671c88 100644 (file)
@@ -1,9 +1,9 @@
 // makeuserkey() - convert a username into the format used as a database key
 //
-// Copyright (c) 1987-2023 by the citadel.org team
+// Copyright (c) 1987-2024 by the citadel.org team
 //
-// This program is open source software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License, version 3.
+// This program is open source software.  Use, duplication, or disclosure
+// is subject to the terms of the GNU General Public License, version 3.
 
 #include <stdlib.h>
 #include <unistd.h>
@@ -11,6 +11,7 @@
 #include <stdio.h>
 #include <sys/stat.h>
 #include <libcitadel.h>
+#include <string.h>
 #include "config.h"
 #include "user_ops.h"
 
@@ -35,5 +36,3 @@ void makeuserkey(char *key, const char *username) {
        }
        key[keylen++] = 0;
 }
-
-