From: Günther Deschner Date: Wed, 5 Mar 2008 23:45:20 +0000 (+0100) Subject: In libnetapi, point out that lp_load has failed. X-Git-Tag: samba-3.2.0pre3~2020 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fba3713e1c3379edcd99fb28ddac21616f34777;p=thirdparty%2Fsamba.git In libnetapi, point out that lp_load has failed. Guenther (cherry picked from commit be673bfc61559f661040c6fb1ba7d2e4552967f2) --- diff --git a/source/lib/netapi/netapi.c b/source/lib/netapi/netapi.c index fb091f6e0b2..82a8a8d3cd8 100644 --- a/source/lib/netapi/netapi.c +++ b/source/lib/netapi/netapi.c @@ -63,6 +63,7 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context) if (!lp_load(get_dyn_CONFIGFILE(), true, false, false, false)) { TALLOC_FREE(frame); + fprintf(stderr, "lp_load failed\n"); return W_ERROR_V(WERR_GENERAL_FAILURE); }