mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
api: return newly allocated string in functions string_tolower and string_toupper
This commit is contained in:
@@ -760,9 +760,8 @@ script_repo_sha512sum_file (const char *filename)
|
||||
return NULL;
|
||||
|
||||
weechat_string_base_encode (16, hash, hash_size, hash_hexa);
|
||||
weechat_string_tolower (hash_hexa);
|
||||
|
||||
return strdup (hash_hexa);
|
||||
return weechat_string_tolower (hash_hexa);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user