curl-library
Re: Why syntax error in release version of code in visual c++
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 5 Feb 2014 23:17:26 +0100
Date: Wed, 5 Feb 2014 23:17:26 +0100
On Wed, Feb 05, 2014 at 09:30:19PM +0530, ansh kumar wrote:
> strcpy(fileBuf[len++],"To: " TO "\r\n");
> buffer_size += strlen(fileBuf[len-1]) + 1; // 1 for \0
> strcpy(fileBuf[len++],"From: " FROM "\r\n");
> buffer_size += strlen(fileBuf[len-1]) + 1;
> strcpy(fileBuf[len++],"Subject: SMTP TLS example message\r\n");
> buffer_size += strlen(fileBuf[len-1]) + 1;
> strcpy(fileBuf[len++],"Content-Type: application/x-msdownload; name=\"" FILENAME "\"\r\n");
I think you spelled "pwned" wrong.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-05