qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] util: Emancipate id_wellformed() from QemuOpts


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] util: Emancipate id_wellformed() from QemuOpts
Date: Thu, 2 Oct 2014 14:18:26 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Sep 30, 2014 at 01:59:30PM +0200, Markus Armbruster wrote:
> +bool id_wellformed(const char *id)
> +{
> +    int i;
> +
> +    if (!qemu_isalpha(id[0])) {
> +        return 0;

false would be a bit nicer since the other return cases use true/false.

Attachment: pgppygTTI5B1w.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]