diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-29 16:29:01 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-29 16:29:01 +0000 |
commit | ff0ca3143049861a2f8b631486c582e0524d94ac (patch) | |
tree | 442e429524e7bdddc81ba872e5e1d66437515c81 /mbox.c | |
parent | 6dcfd9bfe9a3285f85ce1983038b2a2dcad82da8 (diff) |
Use sizeof instead of strlen for some fixed strings.
Diffstat (limited to 'mbox.c')
-rw-r--r-- | mbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -753,9 +753,9 @@ int mbox_sync_mailbox (CONTEXT *ctx) * sure we seek to the correct location */ if (ctx->magic == M_MMDF) - offset -= mutt_strlen (MMDF_SEP); + offset -= (sizeof MMDF_SEP - 1); else if (ctx->magic == M_KENDRA) - offset -= mutt_strlen(KENDRA_SEP); + offset -= (sizeof KENDRA_SEP - 1); /* allocate space for the new offsets */ newOffset = safe_calloc (ctx->msgcount - first, sizeof (struct m_update_t)); |