BAD code Re: [Wifidog] threads

Philippe April papril777 at yahoo.com
Thu Apr 15 09:25:55 EDT 2004


Yeah well, I found out what it was, it was not even that complicated, it
was a problem with the libraries (linker problems)... So I tested it this
morning and it works on the WRT54G, only thing left to test is the actual
transaction (passing token, etc.) which I will try to do remotely this
morning, but it looks good so far.

We're close to something really good!

Again, thanks for your hard work.

> On Wed, Apr 14, 2004 at 11:30:37PM -0400, Alexandre Carmel-Veilleux wrote:
> ------------------------------------------------------------------------
> #include <stdio.h>
> #include <strings.h>
> #include <ctype.h>
>
> int
> main(int argc, char **argv)
> {
> 	char	*test = "GET / HTTP/1.0\r\n\r\n";
> 	char	*p;
>
> 	p = test;
>
> 	while (isalpha(*p))
> 		p++;
> 	*p = 0;
>
> 	if (strcasecmp(test,"GET") == 0)
> 		printf("Good\n");
> 	else
> 		printf("Bad\n");
> }
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Wifidog mailing list
> Wifidog at isf.waglo.com
> http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
>


_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com



More information about the Wifidog mailing list