summaryrefslogtreecommitdiff
path: root/lib/smtp.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2010-03-28 08:45:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-03-29 16:03:38 +0200
commit3ec7543007d8f846e77e9e9d23de74be15a2b41f (patch)
tree7c5615b2c89bab9057a9e59b6b45b1fcb7af42e8 /lib/smtp.c
parent604a2bdac87dc2b12afe4e5661e294da0f01be58 (diff)
downloadcurl-3ec7543007d8f846e77e9e9d23de74be15a2b41f.tar.gz
fix smtp compile warning
Use ssize_t instead of int for the Curl_smtp_escape_eob nread argument. Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'lib/smtp.c')
-rw-r--r--lib/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index 7cbccba08..073925d1b 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1039,7 +1039,7 @@ static CURLcode smtp_setup_connection(struct connectdata * conn)
return CURLE_OK;
}
-CURLcode Curl_smtp_escape_eob(struct connectdata *conn, int nread)
+CURLcode Curl_smtp_escape_eob(struct connectdata *conn, ssize_t nread)
{
/* When sending SMTP payload, we must detect CRLF.CRLF sequences in
* the data and make sure it is sent as CRLF..CRLF instead, as