Under PHP 4.3.5, Snoopy was giving warnings about
"Undefined index: query" on line 290, and "Undefined
variable: postdata" on line 1154.
I don't really know PHP, but I believe this patch is
the correct way to solve the problem.. hopefully
someone will correct it if I'm wrong!