diff options
| author | the_systech <the_systech@users.sourceforge.net> | 2002-01-31 21:16:12 +0000 |
|---|---|---|
| committer | the_systech <the_systech@users.sourceforge.net> | 2002-01-31 21:16:12 +0000 |
| commit | 0b912384b6feef904e7cfbc465ac7865e51584f6 (patch) | |
| tree | 8125e66d4217081dfe92c5da0dc7c96ea9139ffd /phpBB/includes | |
| parent | 5d304a861831b083ae783f8ba3e027d6c08a59a7 (diff) | |
| download | forums-0b912384b6feef904e7cfbc465ac7865e51584f6.tar forums-0b912384b6feef904e7cfbc465ac7865e51584f6.tar.gz forums-0b912384b6feef904e7cfbc465ac7865e51584f6.tar.bz2 forums-0b912384b6feef904e7cfbc465ac7865e51584f6.tar.xz forums-0b912384b6feef904e7cfbc465ac7865e51584f6.zip | |
Increased the length of return codes allowed from smtp server to 256..
git-svn-id: file:///svn/phpbb/trunk@2030 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/smtp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/smtp.php b/phpBB/includes/smtp.php index 42b2db9250..39a95ba349 100644 --- a/phpBB/includes/smtp.php +++ b/phpBB/includes/smtp.php @@ -36,7 +36,7 @@ define('SMTP_INCLUDED', 1); function server_parse($socket, $response) { - if(!($server_response = fgets($socket, 100))) + if(!($server_response = fgets($socket, 256))) { message_die(GENERAL_ERROR, "Couldn't get mail server response codes", "", __LINE__, __FILE__); } |
