cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: multi-app example not working

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Dec 2010 09:24:26 +0100 (CET)

On Tue, 16 Nov 2010, Miles Benson wrote:

> I'm replying to my own post here because I've chased the problem down a
> little further.
>
> In the example multi-app.c, there is this code

...

> whereas in eg multi-single.c there is this

...

> So the question is, which is the accepted/correct way? What is the
> function/intention of the "/* timeout, do something else */" case?

The latter is the correct way, and in fact I've already fixed that flaw in the
example code in git (which is what the web site shows...)!

Thanks for pointing it out though!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-02