mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 09:56:21 +00:00
refactor: make Jid use glib functions
This commit is contained in:
@@ -565,11 +565,11 @@ session_reconnect_now(void)
|
||||
return;
|
||||
}
|
||||
|
||||
auto_char char* jid = NULL;
|
||||
auto_gchar gchar* jid = NULL;
|
||||
if (account->resource) {
|
||||
jid = create_fulljid(account->jid, account->resource);
|
||||
} else {
|
||||
jid = strdup(account->jid);
|
||||
jid = g_strdup(account->jid);
|
||||
}
|
||||
const char* server;
|
||||
unsigned short port;
|
||||
|
||||
Reference in New Issue
Block a user