Coda File System

Re: which one is correct?

From: <u-codalist-z149_at_aetey.se>
Date: Sat, 2 Aug 2014 01:15:37 +0200
On Fri, Aug 01, 2014 at 02:27:28PM -0400, Jan Harkes wrote:
> >                 ph = m->GetPrimaryHost(&ph_ix);

> >             ph = ntohl(m->GetPrimaryHost(&ph_ix)->s_addr);

> Yes both are correct, different uses. The non-converted one is only used
> client-side, the one that is converted is shipped off to the server and
> was used at some point in Coda's past to reduce the number of callbacks
> that were kept. Only the 'primary host' replica used to track client
> callbacks, now all replicas do.

Thanks a lot Jan! This helps.

Rune
Received on 2014-08-01 19:15:55