aboutsummaryrefslogtreecommitdiffstats
path: root/mail/evolution-mbox-importer.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-31 03:09:07 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-31 03:09:07 +0800
commit0c8839ec4ecebc05640ce2432a09d6e04a811bac (patch)
treec75e7266482d3dc5ef69f95bec13349d60249828 /mail/evolution-mbox-importer.c
parent5a13e823f2ea32d9a559bbb65d2fbb5b81442cad (diff)
downloadgsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar.gz
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar.bz2
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar.lz
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar.xz
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.tar.zst
gsoc2013-evolution-0c8839ec4ecebc05640ce2432a09d6e04a811bac.zip
Fix bug in autodetected mboxes
Only allow one send and recv dialog at once. svn path=/trunk/; revision=7917
Diffstat (limited to 'mail/evolution-mbox-importer.c')
-rw-r--r--mail/evolution-mbox-importer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/evolution-mbox-importer.c b/mail/evolution-mbox-importer.c
index 217954472f..4fcbc9a684 100644
--- a/mail/evolution-mbox-importer.c
+++ b/mail/evolution-mbox-importer.c
@@ -160,7 +160,7 @@ support_format_fn (EvolutionImporter *importer,
/* SIGNATURE */
fread (&signature, 5, 1, handle);
- if (strcmp (signature, "From ") == 0) {
+ if (strncmp (signature, "From ", 5) == 0) {
fclose (handle);
return TRUE;
}