Mercurial > ~mikael > mcabber > hg
diff mcabber/src/jabglue.c @ 1306:a7d21918234c
Fix jb_send_msg() call in OTR
Also add a cast to remove a compiler warning in jabglue.c
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 09 Sep 2007 13:24:40 +0200 |
parents | 9bc68473f8a3 |
children | a5336c44d4e2 |
line wrap: on
line diff
--- a/mcabber/src/jabglue.c Sat Sep 08 13:21:07 2007 +0200 +++ b/mcabber/src/jabglue.c Sun Sep 09 13:24:40 2007 +0200 @@ -653,7 +653,7 @@ g_free(barejid); #endif // HAVE_GPGME || defined JEP0022 || defined JEP0085 - x = jutil_msgnew(strtype, (char*)fjid, NULL, + x = jutil_msgnew((char*)strtype, (char*)fjid, NULL, (enc ? "This message is PGP-encrypted." : (char*)text)); if (subject) { xmlnode y;