From: Ian Jackson Date: Sat, 4 Jul 2009 19:24:34 +0000 (+0100) Subject: Version protocol better error message X-Git-Tag: 1.9.2~21 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=2c3d2e7de4d4aea3536ea79ced23677e24589833;hp=c2256b56c876ef5bdc305e5af029c8348ce8a5f9 Version protocol better error message --- diff --git a/pctb/dictionary-update-receiver b/pctb/dictionary-update-receiver index 24e7c67..25cdf0a 100755 --- a/pctb/dictionary-update-receiver +++ b/pctb/dictionary-update-receiver @@ -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; }