d011b2b6e0
- attremover 1.0.14 - htmlviewer 0.32 - notification 0.30 - rssyl 0.33 - vcalendar 2.0.13 While here add patches for upstream bugs #2840, #2841 and #2842. Add links to corresponding patches for tracking purposes. All from Christopher Zimmermann, thanks!
68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
$OpenBSD: patch-src_common_smtp_c,v 1.2 2012/06/29 14:02:54 landry Exp $
|
|
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2639
|
|
--- src/common/smtp.c.orig Fri Dec 16 09:09:34 2011
|
|
+++ src/common/smtp.c Tue Apr 3 13:03:02 2012
|
|
@@ -124,7 +124,7 @@ static void smtp_session_destroy(Session *session)
|
|
|
|
gint smtp_from(SMTPSession *session)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
gchar *mail_size = NULL;
|
|
|
|
cm_return_val_if_fail(session->from != NULL, SM_ERROR);
|
|
@@ -188,7 +188,7 @@ static gint smtp_auth(SMTPSession *session)
|
|
|
|
static gint smtp_auth_recv(SMTPSession *session, const gchar *msg)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
|
|
switch (session->auth_type) {
|
|
case SMTPAUTH_LOGIN:
|
|
@@ -264,7 +264,7 @@ static gint smtp_auth_recv(SMTPSession *session, const
|
|
|
|
static gint smtp_auth_login_user_recv(SMTPSession *session, const gchar *msg)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
|
|
session->state = SMTP_AUTH_LOGIN_PASS;
|
|
|
|
@@ -284,7 +284,7 @@ static gint smtp_auth_login_user_recv(SMTPSession *ses
|
|
|
|
static gint smtp_ehlo(SMTPSession *session)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
|
|
session->state = SMTP_EHLO;
|
|
|
|
@@ -363,7 +363,7 @@ static gint smtp_auth_cram_md5(SMTPSession *session)
|
|
|
|
static gint smtp_auth_plain(SMTPSession *session)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
|
|
/*
|
|
* +1 +1 +1
|
|
@@ -428,7 +428,7 @@ static gint smtp_auth_login(SMTPSession *session)
|
|
|
|
static gint smtp_helo(SMTPSession *session)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
|
|
session->state = SMTP_HELO;
|
|
|
|
@@ -443,7 +443,7 @@ static gint smtp_helo(SMTPSession *session)
|
|
|
|
static gint smtp_rcpt(SMTPSession *session)
|
|
{
|
|
- gchar buf[MSGBUFSIZE];
|
|
+ gchar buf[MESSAGEBUFSIZE];
|
|
gchar *to;
|
|
|
|
cm_return_val_if_fail(session->cur_to != NULL, SM_ERROR);
|