[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 1/3] Add dnsmasq module (v2.1)
- From: Jim Meyering <jim meyering net>
- To: Satoru SATOH <satoru satoh gmail com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 1/3] Add dnsmasq module (v2.1)
- Date: Sat, 24 Apr 2010 09:29:43 +0200
Satoru SATOH wrote:
> Ok, here is updated one. Could you please take a look at this?
Thanks. That looks fine now.
modulo one nit:
...
> +static int
> +hostsfileWrite(const char *path,
> + dnsmasqDhcpHost *hosts,
> + unsigned int nhosts)
> +{
> + char *tmp = NULL;
This is a dead store, too.
char *tmp;
> + FILE *f;
> + bool istmp = true;
> + unsigned int i;
> + int rc = 0;
> +
> + if (nhosts == 0)
> + return rc;
> +
> + if (virAsprintf(&tmp, "%s.new", path) < 0)
> + return ENOMEM;
...
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]