[mICQ] macro "dc_strerror": CVS broken?

Frank Gruellich frank at der-frank.org
Mon Feb 12 20:26:49 CET 2007


* Rüdiger Kuhlmann <micq-list-CKH1bDCG6x4V at ruediger-kuhlmann.de> 11. Feb 07:
> >--[rtc]
> | 09.02.2007 20:20 [2410] <- util_io.c:773: macro c_strerror' used with too many (3) args
> | util_io.c:915: macro `dc_strerror' used with too many (3) args
> >--[Frank Gruellich]--<frank at der-frank.org>
> > util_io.c:915:120: macro "dc_strerror" passed 3 arguments, but takes just 2
> 
> > -#define dc_strerror(c,e) strerror(e)
> > +#define dc_strerror(c,e,r) strerror(e)
> Well, strerror needs the errno, so the second argument should be
> discarded.
> 
> Anyway, fixed in CVS. I hope I didn't break anything more while trying to
> seperate between errno OS error numbers and SSL error numbers...

Well, actually I have no idea what strerror needs from these three
parameters.  I was just something like "make it compile, _now_".

Kind regards,
 Frank.
-- 
Sigmentation fault


More information about the mICQ-List mailing list