summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/msglib/msglib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msglib/msglib.c b/src/msglib/msglib.c
index 12b1a27..fe1f525 100644
--- a/src/msglib/msglib.c
+++ b/src/msglib/msglib.c
@@ -5,7 +5,7 @@
#include "msglib_sq3.h"
#include "../../deps/jamlib/jam.h"
-int msg_is_to(struct user_record *user, char *addressed_to, char *address, int type, int rn, struct mail_conference *mc) {
+int msg_is_to(struct user_record *user, const char *addressed_to, const char *address, int type, int rn, struct mail_conference *mc) {
char *myname;
if (rn) {
myname = str3dup(user->firstname, " ", user->lastname);
@@ -47,7 +47,7 @@ int msg_is_to(struct user_record *user, char *addressed_to, char *address, int t
}
}
-int msg_is_from(struct user_record *user, char *addressed_from, char *address, int type, int rn, struct mail_conference *mc) {
+int msg_is_from(struct user_record *user, const char *addressed_from, const char *address, int type, int rn, struct mail_conference *mc) {
char *myname;
if (rn) {