diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-11 06:57:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-11 06:57:14 +0000 |
| commit | ab1512440cec2ba873b9b2b942fd434ce08dae94 (patch) | |
| tree | 9b13d1a1d52212ec183491275dd4e18b9faada01 /roundcubemail/program/lib | |
| parent | e2279a439e29639ef9018c5d112d43d9b1b43beb (diff) | |
- Fix Net_SMTP from http://pear.php.net/bugs/bug.php?id=17942
git-svn-id: https://svn.roundcube.net/trunk@4073 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
| -rw-r--r-- | roundcubemail/program/lib/Net/SMTP.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/lib/Net/SMTP.php b/roundcubemail/program/lib/Net/SMTP.php index 8b9d96749..31307f03b 100644 --- a/roundcubemail/program/lib/Net/SMTP.php +++ b/roundcubemail/program/lib/Net/SMTP.php @@ -974,6 +974,8 @@ class Net_SMTP } } } else { + if (!isset($size)) + $size = strlen($data); /* * Break up the data by sending one chunk (up to 512k) at a time. * This approach reduces our peak memory usage. |
