You must reset the optind variable between successive calls to any rrd_
function. There are discussions on the user list in the archive.

torleiv

On Tue, 2 Apr 2002, Abraham van der Merwe wrote:

> Hi!
> 
> I have this problem that if I call rrd_update(), rrd_create(), etc.
> consecutively in a C program with parameters which need to be parsed using
> getopt, then these functions break horribly. Here is a stack trace from such
> a crash:
> 

-- 
Professionalism has no place in art, and hacking is art.
                                        - Jamie Zawinski


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to