summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
Diffstat (limited to 'imap')
-rw-r--r--imap/imap.c2
-rw-r--r--imap/imap.h2
2 files changed, 2 insertions, 2 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];
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);