[Commits] smime.c 1.1.2.12 1.1.2.13
colin at claws-mail.org
colin at claws-mail.org
Wed Sep 19 17:14:02 CEST 2012
Update of /home/claws-mail/claws/src/plugins/smime
In directory srv:/tmp/cvs-serv32521/src/plugins/smime
Modified Files:
Tag: gtk2
smime.c
Log Message:
2012-09-19 [colin] 3.8.1cvs65
* src/addrindex.c
* src/editaddress.c
* src/editldap.c
* src/exporthtml.c
* src/jpilot.c
* src/procmime.c
* src/plugins/bogofilter/bogofilter_gtk.c
* src/plugins/pgpcore/prefs_gpg.c
* src/plugins/smime/smime.c
* src/plugins/spamassassin/spamassassin_gtk.c
More warning fixes, casts, useless variables and
unchecked return values
Index: smime.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/smime/Attic/smime.c,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- smime.c 7 Jul 2012 07:09:38 -0000 1.1.2.12
+++ smime.c 19 Sep 2012 15:14:00 -0000 1.1.2.13
@@ -266,8 +266,7 @@
if (textstr && len) {
gchar *tmp_file = get_tmp_file();
MimeInfo *newinfo = NULL, *decinfo = NULL, *parentinfo = NULL;
- gint childnumber = 0;
-
+
str_write_to_file(textstr, tmp_file);
newinfo = procmime_scan_file(tmp_file);
decinfo = g_node_first_child(newinfo->node) != NULL ?
@@ -280,7 +279,7 @@
procmime_mimeinfo_free_all(newinfo);
decinfo->tmp = TRUE;
parentinfo = procmime_mimeinfo_parent(mimeinfo);
- childnumber = g_node_child_index(parentinfo->node, mimeinfo);
+
if (parentinfo->type == MIMETYPE_MESSAGE &&
!strcmp(parentinfo->subtype, "rfc822")) {
procmime_decode_content(parentinfo);
More information about the Commits
mailing list