From: Egor Date: Tue, 21 Jan 2025 03:36:29 +0000 (+0200) Subject: crypt_blowfish.c: don't return a string literal X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=f35f07fa83774826e643aa25d48d1fea6d3bb1c8;p=patchyircd.git crypt_blowfish.c: don't return a string literal --- diff --git a/src/crypt_blowfish.c b/src/crypt_blowfish.c index b586978..db7d2be 100644 --- a/src/crypt_blowfish.c +++ b/src/crypt_blowfish.c @@ -804,5 +804,5 @@ char *crypt_blowfish(const char *key, const char *setting, char *output) if (ok && retval) return retval; - return "*"; + return strcpy(output, "*"); }