From: Daniel Kahn Gillmor Date: Wed, 6 Jan 2010 02:27:03 +0000 (-0500) Subject: fixed typo that caused wget to segfault X-Git-Tag: msva-perl/0.1~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a2e8dceebc375e3d32e5290c4f1811595cf1ab0a;p=monkeysphere-validation-agent.git fixed typo that caused wget to segfault --- diff --git a/msva b/msva index 75e28f6..738d4c2 100755 --- a/msva +++ b/msva @@ -30,7 +30,7 @@ use strict; printf("HTTP/1.0 %s\r\nContent-Type: application/json\r\n\r\n%s", $status, to_json ($object)); } else { - printf("HTTP/1.0 Bad Request -- not handled by Monkeysphere validation agent\r\nContent-Type: text/plain\r\n\r\nBad Request -- the path:\r\n %s\r\nis not handled by the MonkeySphere validation agent.\r\nPlease try one of the following paths instead:\r\n\r\n%s\r\n", $path, ' * '.join("\r\n * ", keys %dispatch) ); + printf("HTTP/1.0 400 Bad Request -- not handled by Monkeysphere validation agent\r\nContent-Type: text/plain\r\n\r\nBad Request -- the path:\r\n %s\r\nis not handled by the MonkeySphere validation agent.\r\nPlease try one of the following paths instead:\r\n\r\n%s\r\n", $path, ' * '.join("\r\n * ", keys %dispatch) ); } }