qmpclient-qga : cmdid : use integer instead string

qga client use only integer as id

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2013-03-17 16:09:04 +01:00 committed by Dietmar Maurer
parent f1f36aca43
commit b1d8a6d44b

View File

@ -108,7 +108,7 @@ sub cmd {
my $cmdid_seq = 0;
my $next_cmdid = sub {
$cmdid_seq++;
return "$$:$cmdid_seq";
return "$$"."0".$cmdid_seq;
};
my $close_connection = sub {