http11: minor cleanups in return types
commitb5ff27899a3caf8a66be1d024e727ac166dd3b3f
authorEric Wong <normalperson@yhbt.net>
Tue, 21 Apr 2009 18:14:48 +0000 (21 11:14 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 21 Apr 2009 18:16:32 +0000 (21 11:16 -0700)
treea0902589a3a2a0e2f88e3ba38af6c8b404cf13a2
parentcd0c49fbc22aa4b13f8c11917d8fd01e9c31eb2e
http11: minor cleanups in return types

While we're at it, replace a bunch of zero assignments
with a memset to avoid forgetting a struct element in
case we change the struct.
ext/unicorn/http11/http11.c
ext/unicorn/http11/http11_parser.h
ext/unicorn/http11/http11_parser.rl