cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: (unknown)

From: Michael Wallner <mike_at_iworks.at>
Date: Sat, 19 May 2007 20:42:37 +0200

Caner Bulut wrote:
> Hi,
>
> i have a problem.Below code when 1 and 2 lines blok,
> CURLOPT_NOPROGRESS works well.But i want to my own progress
> function.But when i open line 1 and 2,and in progress_callback to
> write some info,the error 42 occur.It means that
> callback_function_aborted.I dont understand why it occurs.
>
>
> int progress_callback( double *clientp,

^^^^^^ Proto says function returns int...

> {
> printf("hello \n");
> }

...but you don't return anything.

Regards,

-- 
Michael
Received on 2007-05-19