aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--notmuch-reply.c5
-rw-r--r--notmuch-setup.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index aa581785..23d04b8b 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -119,7 +119,7 @@ static int
address_is_users (const char *address, notmuch_config_t *config)
{
const char *primary;
- char **other;
+ const char **other;
size_t i, other_len;
primary = notmuch_config_get_user_primary_email (config);
@@ -312,7 +312,8 @@ static const char *
guess_from_received_header (notmuch_config_t *config, notmuch_message_t *message)
{
const char *received,*primary,*by;
- char **other,*tohdr;
+ const char **other;
+ char *tohdr;
char *mta,*ptr,*token;
char *domain=NULL;
char *tld=NULL;
diff --git a/notmuch-setup.c b/notmuch-setup.c
index 955deb7e..ec4bfebc 100644
--- a/notmuch-setup.c
+++ b/notmuch-setup.c
@@ -94,7 +94,7 @@ notmuch_setup_command (unused (void *ctx),
char *response = NULL;
size_t response_size;
notmuch_config_t *config;
- char **old_other_emails;
+ const char **old_other_emails;
size_t old_other_emails_len;
GPtrArray *other_emails;
unsigned int i;