summaryrefslogtreecommitdiffstats
path: root/sqwebmail
diff options
context:
space:
mode:
Diffstat (limited to 'sqwebmail')
-rw-r--r--sqwebmail/autoresponse.c2
-rw-r--r--sqwebmail/configure.ac2
-rw-r--r--sqwebmail/html/en-us/expired.html5
-rw-r--r--sqwebmail/newmsg_newdraft.c3
4 files changed, 6 insertions, 6 deletions
diff --git a/sqwebmail/autoresponse.c b/sqwebmail/autoresponse.c
index 2ed3f06..b1dccbf 100644
--- a/sqwebmail/autoresponse.c
+++ b/sqwebmail/autoresponse.c
@@ -386,7 +386,7 @@ static void end_upload(void *vp)
mimetype=calc_mime_type(uai->filename);
- if (strcasecmp(mimetype, "message/rfc822") == 0)
+ if (rfc2045_message_content_type(mimetype))
{
/* Magic */
diff --git a/sqwebmail/configure.ac b/sqwebmail/configure.ac
index 615c692..7c3e080 100644
--- a/sqwebmail/configure.ac
+++ b/sqwebmail/configure.ac
@@ -2,7 +2,7 @@ dnl
dnl Copyright 1998 - 2017 Double Precision, Inc. See COPYING for
dnl distribution information.
-AC_INIT(sqwebmail, 5.9.2, [courier-sqwebmail@lists.sourceforge.net])
+AC_INIT(sqwebmail, 5.9.3, [courier-sqwebmail@lists.sourceforge.net])
>confdefs.h # Kill PACKAGE_ macros
diff --git a/sqwebmail/html/en-us/expired.html b/sqwebmail/html/en-us/expired.html
index 6278db8..3e26010 100644
--- a/sqwebmail/html/en-us/expired.html
+++ b/sqwebmail/html/en-us/expired.html
@@ -30,9 +30,8 @@ document.logon.username.focus();
<tbody>
<tr>
<td align="left"><p class="error">Your request cannot be authenticated.
- Either your session has timed out, or your IP address has changed. If
- you are dialing in via a modem, this can happen if you get
- disconnected. After reconnecting, you must log in again.</p>
+ Either your session has timed out, or your IP address has changed.
+ You need to log in again.</p>
</td>
</tr>
</tbody>
diff --git a/sqwebmail/newmsg_newdraft.c b/sqwebmail/newmsg_newdraft.c
index 6eb4a9b..8158d40 100644
--- a/sqwebmail/newmsg_newdraft.c
+++ b/sqwebmail/newmsg_newdraft.c
@@ -105,7 +105,8 @@ int x;
rfc2045_mimeinfo(rfc2045partp, &content_type,
&dummy, &dummy);
- if (!content_type || strcmp(content_type, "message/rfc822"))
+ if (!content_type ||
+ !rfc2045_message_content_type(content_type))
rfc2045partp=0;
else
rfc2045partp=rfc2045partp->firstpart;