summaryrefslogtreecommitdiffstats
path: root/imap/imap.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-09-19 18:52:24 -0700
committerKevin McCarthy <kevin@8t8.us>2019-09-19 19:14:03 -0700
commit192a6d0ebe7d303b5a340a5334ada58bd5e509a6 (patch)
treee4deaa91bcb4cea9065460fbb1fae14bbd002c74 /imap/imap.h
parenta4b53e19ef471efc1938348d1623b811354f1c93 (diff)
Convert mutt_complete() to use the buffer pool.
Add helper functions mutt_buffer_substrcpy() and mutt_buffer_concatn_path(). Remove mutt_concatn_path() because mutt_complete() was the only caller.
Diffstat (limited to 'imap/imap.h')
-rw-r--r--imap/imap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/imap.h b/imap/imap.h
index f8565195..2a3d4fc0 100644
--- a/imap/imap.h
+++ b/imap/imap.h
@@ -41,7 +41,7 @@ int imap_buffy_check (int force, int check_stats);
int imap_status (const char *path, int queue);
int imap_search (CONTEXT* ctx, const pattern_t* pat);
int imap_subscribe (char *path, int subscribe);
-int imap_complete (char* dest, size_t dlen, char* path);
+int imap_complete (char* dest, size_t dlen, const char* path);
int imap_fast_trash (CONTEXT* ctx, char* dest);
void imap_allow_reopen (CONTEXT *ctx);