On Tue, Nov 8, 2011 at 18:39, Noah Watkins <jayhawk@xxxxxxxxxxx> wrote: > + /* naddr == 0: drop through and return actual size */ > + if (naddr && (address.size() > (unsigned)naddr)) I have to say I'm not completely comfortable with the magicness of naddr==0, mostly because I haven't seen other APIs do it like that. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html