cURL / Mailing Lists / curl-library / Single Mail


RE: libcurl on QNX 6

From: <>
Date: Thu, 20 Dec 2001 10:51:53 -0000

I'm fairly sure a valid pointer is returned from fopen() as a 0-length file
is created in the right place with the right name...


> -----Original Message-----
> From: Nielsen Linus (ext) []
> Sent: Thursday 20 December 2001 10:44 AM
> To: Bentham, David (Poole);
> Subject: RE: libcurl on QNX 6
> > // open the local (destination) file
> > ftp = fopen(dstFile,"wb");
> >
> The first thing that comes to mind:
> Are you sure that fopen() managed to open the file? Curl will
> crash on you pass a NULL file handle to curl.
> /Linus
This communication contains information which is confidential, and is for
the exclusive use of the addressee(s). If you are not a named addressee
please contact the sender immediately, and also delete the communication
from your system.

Any views or opinions presented are solely those of the author and do not
necessarily represent those of Siemens plc unless otherwise specifically
Received on 2001-12-20