move FIXME to the place where the fixing of me is needed
authormike castleman <m@mlcastle.net>
Sat, 9 Jan 2010 20:53:47 +0000 (15:53 -0500)
committermike castleman <m@mlcastle.net>
Sat, 9 Jan 2010 20:53:47 +0000 (15:53 -0500)
msva

diff --git a/msva b/msva
index d1a22817cd7fe4b20fd1ff242ef117309861c242..a6adb9ffbacf6d56923709830ec6c620b853a072 100755 (executable)
--- a/msva
+++ b/msva
@@ -25,9 +25,10 @@ use strict;
     my $path = $cgi->path_info();
     my $handler = $dispatch{$path};
 
-    # FIXME: ensure that this is a POST
     if (ref($handler) eq "CODE") {
+      # FIXME: ensure that this actually is a POST
       printf STDERR ("Got POST %s\n", $path);
+
       my ($status, $object) = $handler->($cgi);
       printf("HTTP/1.0 %s\r\nContent-Type: application/json\r\n\r\n%s", $status, to_json ($object));