From 42c08724999ab8982f671b25204ac03895896883 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 27 Aug 2021 15:41:00 +0200 Subject: [PATCH] origin: Fix the password when updating credentials Updating the credentials was broken otherwise. --- plugins/sip/calls-sip-origin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index af45311..20af42b 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -1440,7 +1440,7 @@ calls_sip_origin_set_credentials (CallsSipOrigin *self, self->user = g_strdup (user); g_free (self->password); - self->password = g_strdup (self->password); + self->password = g_strdup (password); g_clear_pointer (&self->display_name, g_free); if (display_name)