diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c index b0612750bdb14d06cbb100f466f6da698f58ac7f..42427dc5babb80c460621892b7c598778e675243 100644 --- a/src/rpc/virnetserver.c +++ b/src/rpc/virnetserver.c @@ -499,7 +499,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object, goto error; } - n = virJSONValueArraySize(services); + n = virJSONValueArraySize(services); if (n < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Malformed services data in JSON document")); @@ -532,7 +532,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object, goto error; } - n = virJSONValueArraySize(clients); + n = virJSONValueArraySize(clients); if (n < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Malformed clients data in JSON document"));