[netcf-devel] [PATCH] Allow NULL errmsg and details when calling ncf_error().

David Lutterkort lutter at redhat.com
Wed Jul 8 18:40:54 UTC 2009


On Wed, 2009-07-08 at 00:59 -0400, Laine Stump wrote:
> Sometimes a caller may just be interested in the error code, but
> not care about the associated text messages. This patch allows
> calling like this:
> 
>           int code = ncf_error(ncf, NULL, NULL);
> 
> with no ill effects. The error code is returned, but no attempt is
> made to store the text messages.

Good addition - committed and pushed.

David




More information about the netcf-devel mailing list