diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:07:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-19 02:07:42 +0800 |
commit | fa360fde289f9b850191f89059d1a5e6d67c07c7 (patch) | |
tree | d1d8a43364d21daf94d5b9ac1f352faffd03dcd2 /plugins/sa-junk-plugin | |
parent | becd78e26ed61ff386d0b229f85bdcf590c28e94 (diff) | |
download | gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.gz gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.zst gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.zip |
More whitespace cleanup.
Diffstat (limited to 'plugins/sa-junk-plugin')
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index 66f5a92f74..74010f2555 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -648,18 +648,18 @@ get_spamassassin_version () NULL }; - if (!em_junk_sa_checked_spamassassin_version){ + if (!em_junk_sa_checked_spamassassin_version) { out = g_byte_array_new (); - if (pipe_to_sa_full (NULL, NULL, argv, -1, 1, out, NULL) != 0){ - if(out) + if (pipe_to_sa_full (NULL, NULL, argv, -1, 1, out, NULL) != 0) { + if (out) g_byte_array_free (out, TRUE); return em_junk_sa_spamassassin_version; } - if(out->len > 0){ - for(i = 0; i < out->len; i++){ - if(g_ascii_isdigit (out->data[i])){ + if (out->len > 0) { + for (i = 0; i < out->len; i++) { + if (g_ascii_isdigit (out->data[i])) { em_junk_sa_spamassassin_version = (out->data[i] - '0'); em_junk_sa_checked_spamassassin_version = TRUE; break; @@ -667,7 +667,7 @@ get_spamassassin_version () } } - if(out) + if (out) g_byte_array_free (out, TRUE); } |