Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1305:9bc68473f8a3 | 1306:a7d21918234c |
---|---|
651 #endif // HAVE_GPGME | 651 #endif // HAVE_GPGME |
652 | 652 |
653 g_free(barejid); | 653 g_free(barejid); |
654 #endif // HAVE_GPGME || defined JEP0022 || defined JEP0085 | 654 #endif // HAVE_GPGME || defined JEP0022 || defined JEP0085 |
655 | 655 |
656 x = jutil_msgnew(strtype, (char*)fjid, NULL, | 656 x = jutil_msgnew((char*)strtype, (char*)fjid, NULL, |
657 (enc ? "This message is PGP-encrypted." : (char*)text)); | 657 (enc ? "This message is PGP-encrypted." : (char*)text)); |
658 if (subject) { | 658 if (subject) { |
659 xmlnode y; | 659 xmlnode y; |
660 y = xmlnode_insert_tag(x, "subject"); | 660 y = xmlnode_insert_tag(x, "subject"); |
661 xmlnode_insert_cdata(y, subject, (unsigned) -1); | 661 xmlnode_insert_cdata(y, subject, (unsigned) -1); |