diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-09-19 18:52:24 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-09-19 19:14:03 -0700 |
commit | 192a6d0ebe7d303b5a340a5334ada58bd5e509a6 (patch) | |
tree | e4deaa91bcb4cea9065460fbb1fae14bbd002c74 /imap/imap.c | |
parent | a4b53e19ef471efc1938348d1623b811354f1c93 (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.c')
-rw-r--r-- | imap/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/imap.c b/imap/imap.c index e583a328..ccba3a38 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -2147,7 +2147,7 @@ imap_complete_hosts (char *dest, size_t len) /* imap_complete: given a partial IMAP folder path, return a string which * adds as much to the path as is unique */ -int imap_complete(char* dest, size_t dlen, char* path) +int imap_complete(char* dest, size_t dlen, const char* path) { IMAP_DATA* idata; char list[LONG_STRING]; |