Hi, Am 02.05.2011 16:06, schrieb Artem Belevich:
Second problem -- res on success will always be "" as you've just did *ptr=0.
thats right, the copy should look like: res=strdup(str+4); > Bzzt! > > Try it on "GET blah_HTTP/1.1.1.1.1.1_whatever HTTP/1.1" will return "blah_HTTP/1.1.1.1.1.1_whatever" as resource. It should be the next step to check whether <resource> is valid. with kind regards, Robert Schulze _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

