[SCM] Samba Shared Repository - branch master updated

Jim McDonough jmcd at samba.org
Tue Apr 20 15:46:21 MDT 2010


The branch, master has been updated
       via  61bdffb... Fix i18n of net conf import error message.
      from  a22f03e... Display an error on net conf import failures.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 61bdffbf8e6789e7fbac3f0432840059fe98ab17
Author: Jim McDonough <jmcd at samba.org>
Date:   Tue Apr 20 17:45:06 2010 -0400

    Fix i18n of net conf import error message.
    
    Thanks gd

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/net_conf.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1fc07e1..6fc03bf 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -229,9 +229,10 @@ static WERROR import_process_service(struct net_context *c,
 						     service->param_names[idx],
 						     service->param_values[idx]);
 			if (!W_ERROR_IS_OK(werr)) {
-				d_printf("Error in section [%s], parameter \"%s\": %s\n",
-					 service->name, service->param_names[idx],
-					 win_errstr(werr));
+				d_fprintf(stderr,
+					  _("Error in section [%s], parameter \"%s\": %s\n"),
+					  service->name, service->param_names[idx],
+					  win_errstr(werr));
 				goto done;
 			}
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list