pcp
[Top] [All Lists]

Re: [pcp] pcp updates

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] pcp updates
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed, 03 Apr 2013 10:56:07 -0400
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <515B571E.1010602@xxxxxxxxxxxxxxxx>
References: <515B3475.7050508@xxxxxxxxxxxxxxxx> <515B3A58.40309@xxxxxxxxxx> <515B3E88.3040709@xxxxxxxxxx> <515B571E.1010602@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
On 04/02/2013 06:09 PM, Ken McDonell wrote:
Dave,

Thanks for the pointer to the wrapper routine that I did not know about.

Your change looks good to me (and much cleaner) ... although the error string needs a leading space and no trailing \n to fit in with the surrounding fprintf's. And the loss of the unknown family=%d diagnostic in the invalid address case is probably not an issue (especially as it cannot be reported without exposing the conditional mess you've just hidden behind the __pmSockAddrToString() call!).

Do you want to push this to Nathan, or would you like me to apply to my tree and push back to the official tree that way?

I think it would be best for you to make the adjustments that you have mentioned and apply to your tree. That way you can verify that the output is as you expect before pushing it.

Thanks,
Dave

<Prev in Thread] Current Thread [Next in Thread>