diff options
author | Steve Holme <steve_holme@hotmail.com> | 2011-10-01 12:35:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-03 23:28:17 +0200 |
commit | d54bcebad49b395b183455133e3e1fc8537826d2 (patch) | |
tree | 03019df327a9e9d6f9060752da02fb921312ccce /COPYING | |
parent | 0435800f65ce3eddd11ad6d6877d4d0818bfcaa6 (diff) |
smtp: General tidy up ready for adding NTLM support
Changed the name of variable l, in several functions, which represents
the length of strings being sent to the server, to len which is more
meaningful and consistent with other code in smtp.c and elsewhere.
Reworked smtp_authenticate() to be simpler and easier to follow.
Variables and now initialised in their definitions and if no username
and password are specified the function sets the state to SMTP_STOP and
returns immediately, rather than being part of a huge if statement.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions