chiark / gitweb /
Version protocol better error message
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 4 Jul 2009 19:24:34 +0000 (20:24 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 4 Jul 2009 19:24:34 +0000 (20:24 +0100)
pctb/dictionary-update-receiver

index 24e7c672a750ed34170d195a11b70e3a20357b2d..25cdf0a71d249ce458c976c43aa35250ca704400 100755 (executable)
@@ -164,7 +164,9 @@ sub pipeval ($@) {
 my $version= param('version');
 my $spec_aadepth= param('depth');
 if ($version ne '3'  ||  $spec_aadepth ne $aadepth) {
-    print header('text/plain','403 YPP SC PCTB client is out of date');
+    print header('text/plain',
+                "403 YPP SC PCTB client is out of date".
+                " ($version, $spec_aadepth)");
     print "\nYour YPP SC client is out of date.\n";
     exit 0;
 }