# HG changeset patch # User Zheng Li # Date 1272047404 -3600 # Node ID b986b406898ff8fd7ae0c9a41498747756e1d4f9 # Parent 7b6380fd1068e06d585870dd4c26039dca4beaea Add missing edition "XD" "XD" edition seems to be missing here. The more interesting thing is that when we fail because of this bug, the log file will say "unknown edition" as expected, but the cli's error message will say "daemon was not found". Signed-off-by: Zheng Li diff -r 7b6380fd1068 -r b986b406898f ocaml/license/fakev6.ml --- a/ocaml/license/fakev6.ml Fri Apr 23 18:54:31 2010 +0100 +++ b/ocaml/license/fakev6.ml Fri Apr 23 19:30:04 2010 +0100 @@ -17,7 +17,7 @@ let initialise address port edition = (* check edition *) - if not (List.mem edition ["STD"; "ADV"; "ENT"; "PLT"]) then + if not (List.mem edition ["STD"; "ADV"; "ENT"; "XD"; "PLT"]) then failwith "unknown edition"; ("real", Int32.of_int (-1))