diff options
author | Carl Worth <cworth@cworth.org> | 2010-10-27 18:07:37 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-10-27 18:07:37 -0700 |
commit | c6e70e15eaf7355fb9fe9b599aef07f2be619968 (patch) | |
tree | 28b3ea8ec9970dc0132bf97ef3c6a56bd50c727e /notmuch-reply.c | |
parent | c9e0da3a1aaa640da330fe82fa906bb84463736b (diff) |
notmuch: Eliminate some const-correctness warnings.
These were introduced as a side-effect of commit
b9eac48c22f53f84ed1d9c1d8ca862a7b638c9ac (shame on me for doing
side-effect commits like that!).
For me, at least, compilation is now warning-free.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r-- | notmuch-reply.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c index aa58178..23d04b8 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; |