diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-12-11 04:38:51 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-12-11 04:38:51 +0000 |
commit | 3a94beb958a609c953a03d37b3ecf553c5782803 (patch) | |
tree | 93373de73733d2ba8adc1a374298a15c66dd9f46 /libsylph/smtp.c | |
parent | 1530b222bda57a53255e31784c0f3357a0af3829 (diff) |
renamed/removed MSGBUFSIZE.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2091 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/smtp.c')
-rw-r--r-- | libsylph/smtp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libsylph/smtp.c b/libsylph/smtp.c index 2ee725ee..da41a97a 100644 --- a/libsylph/smtp.c +++ b/libsylph/smtp.c @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2008 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -117,7 +117,7 @@ static void smtp_session_destroy(Session *session) static gint smtp_from(SMTPSession *session) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; g_return_val_if_fail(session->from != NULL, SM_ERROR); @@ -163,7 +163,7 @@ static gint smtp_auth(SMTPSession *session) static gint smtp_auth_recv(SMTPSession *session, const gchar *msg) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; switch (session->auth_type) { case SMTPAUTH_LOGIN: @@ -236,7 +236,7 @@ static gint smtp_auth_recv(SMTPSession *session, const gchar *msg) static gint smtp_auth_login_user_recv(SMTPSession *session, const gchar *msg) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; session->state = SMTP_AUTH_LOGIN_PASS; @@ -255,7 +255,7 @@ static gint smtp_auth_login_user_recv(SMTPSession *session, const gchar *msg) static gint smtp_ehlo(SMTPSession *session) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; session->state = SMTP_EHLO; @@ -370,7 +370,7 @@ static gint smtp_auth_login(SMTPSession *session) static gint smtp_helo(SMTPSession *session) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; session->state = SMTP_HELO; @@ -384,7 +384,7 @@ static gint smtp_helo(SMTPSession *session) static gint smtp_rcpt(SMTPSession *session) { - gchar buf[MSGBUFSIZE]; + gchar buf[SMTPBUFSIZE]; gchar *to; g_return_val_if_fail(session->cur_to != NULL, SM_ERROR); |