[calls] origin: Fix the password when updating credentials



commit 42c08724999ab8982f671b25204ac03895896883
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri Aug 27 15:41:00 2021 +0200

    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 af45311c..20af42bb 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]