Do not use "jid" as a variable name
authorMikael Berthe <mikael@lilotux.net>
Sun, 17 Feb 2008 19:14:56 +0100
changeset 1420 08f641e91f94
parent 1419 fb438482b28e
child 1421 0b8701386bde
Do not use "jid" as a variable name
mcabber/src/otr.c
--- a/mcabber/src/otr.c	Tue Feb 12 20:32:37 2008 +0100
+++ b/mcabber/src/otr.c	Sun Feb 17 19:14:56 2008 +0100
@@ -112,7 +112,7 @@
 
 static char * otr_get_dir(void);
 
-void otr_init(const char *jid)
+void otr_init(const char *fjid)
 {
   char *root;
 
@@ -126,7 +126,7 @@
   userstate = otrl_userstate_create ();
 
   root = otr_get_dir();
-  account = jidtodisp(jid);
+  account = jidtodisp(fjid);
   keyfile = g_strdup_printf("%s%s.key", root, account);
   fprfile = g_strdup_printf("%s%s.fpr", root, account);
   g_free(root);