mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 01:56:22 +00:00
/url save and /url open refactoring
Additional changes: jid.c minor refactoring
This commit is contained in:
@@ -219,10 +219,9 @@ jid_fulljid_or_barejid(Jid* jid)
|
||||
char*
|
||||
jid_random_resource(void)
|
||||
{
|
||||
char* rand = get_random_string(4);
|
||||
auto_char char* rand = get_random_string(4);
|
||||
|
||||
gchar* result = g_strdup_printf("profanity.%s", rand);
|
||||
free(rand);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user