> -----Ursprüngliche Nachricht----- > Von: Jim Jagielski > Gesendet: Montag, 31. März 2008 16:10 > An: dev@httpd.apache.org > Betreff: Re: svn commit: r642558 - in /httpd/httpd/trunk: > CHANGES NWGNUmakefile build/nw_export.inc include/ap_expr.h > include/ap_mmn.h libhttpd.dsp server/Makefile.in server/util_expr.c > > > On Mar 31, 2008, at 8:26 AM, Nick Kew wrote: > > On Sun, 30 Mar 2008 16:36:28 +0200 > > Ruediger Pluem <[EMAIL PROTECTED]> wrote: > > > > PARSE_STRING(r, > >>> current->left->token.value); > >>> + current->left->value > >>> = !!*current->left->token.value; > >> > >> Why do we use !! here? Isn't this the same as !! not being there? > > > > I don't understand that either, but I guess it could be a hack > > for casting char to int. Ain't broke - not fixing. > > > > I'm assuming to force it to be 1 or 0 only and nothing > else...
Sounds like a good and sane reason. Regards Rüdiger