]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: struct lmtp_recipient - Change all strings to const
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 1 Feb 2022 13:58:57 +0000 (14:58 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 1 Feb 2022 14:57:14 +0000 (15:57 +0100)
src/lmtp/lmtp-recipient.h

index 9863d3e333a6a56b1510aa9232c6c3691fe4ea8a..c28b4c2c9f130f770b4383de6179606bd3c92781 100644 (file)
@@ -17,13 +17,13 @@ struct lmtp_recipient {
        struct client *client;
        struct smtp_server_recipient *rcpt;
 
-       char *username, *detail;
+       const char *username, *detail;
        char delim;
 
        enum lmtp_recipient_type type;
        void *backend_context;
 
-       char *session_id;
+       const char *session_id;
        const char *forward_fields;
 
        /* Module-specific contexts. */