projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
mx.c
diff --git
a/mx.c
b/mx.c
index
1cf7078
..
cd1957a
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-65,7
+65,7
@@
#endif
#endif
-#define mutt_is_spool(s) (
mutt
_strcmp (Spoolfile, s) == 0)
+#define mutt_is_spool(s) (
safe
_strcmp (Spoolfile, s) == 0)
#ifdef USE_DOTLOCK
/* parameters:
#ifdef USE_DOTLOCK
/* parameters:
@@
-447,9
+447,9
@@
int mx_get_magic (const char *path)
#endif
fgets (tmp, sizeof (tmp), f);
#endif
fgets (tmp, sizeof (tmp), f);
- if (
mutt
_strncmp ("From ", tmp, 5) == 0)
+ if (
safe
_strncmp ("From ", tmp, 5) == 0)
magic = M_MBOX;
magic = M_MBOX;
- else if (
mutt
_strcmp (MMDF_SEP, tmp) == 0)
+ else if (
safe
_strcmp (MMDF_SEP, tmp) == 0)
magic = M_MMDF;
safe_fclose (&f);
#ifndef BUFFY_SIZE
magic = M_MMDF;
safe_fclose (&f);
#ifndef BUFFY_SIZE