From 2c3d2e7de4d4aea3536ea79ced23677e24589833 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 4 Jul 2009 20:24:34 +0100 Subject: [PATCH] Version protocol better error message --- pctb/dictionary-update-receiver | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.30.2