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

Re: [libvirt] [PATCH v2 4/5] Network: Add additional hosts internal infrastructure



On 04/28/2011 11:00 AM, Michal Novotny wrote:
On 04/28/2011 03:31 AM, Laine Stump wrote:
Coming back to this now that I see how it's being used...

On 04/01/2011 06:45 AM, Michal Novotny wrote:
+
+static int
+addnhostsAdd(dnsmasqAddnHostsfile *addnhostsfile,
+             virSocketAddr *ip,
You could also mark ip as a const.
Well, not really since I was unable to compile it anymore when prefixing
it with const keyword.

Ah, bummer :-( So some function(s) called by addnhostsAdd() needs const for the virSocketAddr*


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