INN 2.5.3 release candidate

Julien ÉLIE julien at trigofacile.com
Sat Oct 15 21:21:05 UTC 2011


Hi Russ,

> I'd do something like:
> 
>      if (serv == NULL)
>          skip("biff service not found");
>      else if (strcmp(serv, "comsat") == 0)
>          is_string("comsat", service, "...and found biff");
>      else
>          is_string("biff", service, "...and found biff");

It will give:

ok 13 - lookup of 512 UDP
ok 14 - ...and found biff

in both cases.  Shouldn't the test for comsat return
"...and found comsat"?



The strcmp() function should use the "service" variable, in lieu of
the "serv" struct variable.

-- 
Julien ÉLIE

« Deficiente uino, deficit omne. »



More information about the inn-workers mailing list