mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 09:26:21 +00:00
Improve const correctness
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -179,8 +179,7 @@ bookmark_join(const char* jid)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
char* account_name = session_get_account_name();
|
||||
ProfAccount* account = accounts_get_account(account_name);
|
||||
ProfAccount* account = accounts_get_account(session_get_account_name());
|
||||
if (!muc_active(bookmark->barejid)) {
|
||||
char* nick = bookmark->nick;
|
||||
if (!nick) {
|
||||
|
||||
Reference in New Issue
Block a user