svn commit: samba r23655 - in branches: SAMBA_3_0/source/utils SAMBA_3_0_26/source/utils

obnox at samba.org obnox at samba.org
Fri Jun 29 12:15:46 GMT 2007


Author: obnox
Date: 2007-06-29 12:15:41 +0000 (Fri, 29 Jun 2007)
New Revision: 23655

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23655

Log:
Fix a comment and adjust some code formatting.

Michael


Modified:
   branches/SAMBA_3_0/source/utils/net_conf.c
   branches/SAMBA_3_0_26/source/utils/net_conf.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_conf.c	2007-06-29 11:54:29 UTC (rev 23654)
+++ branches/SAMBA_3_0/source/utils/net_conf.c	2007-06-29 12:15:41 UTC (rev 23655)
@@ -145,7 +145,7 @@
 /*
  * add a value to a key. 
  */
-static WERROR reg_setvalue_internal(struct registry_key *key, 
+static WERROR reg_setvalue_internal(struct registry_key *key,
 				    const char *valname,
 				    const char *valtype,
 				    const char *valstr)
@@ -165,7 +165,8 @@
 		val.v.sz.len = strlen(valstr) + 1;
 	}
 	else {
-		d_fprintf(stderr, "Sorry, only value types DWORD and SZ implementd currently for setting values.\n");
+		d_fprintf(stderr, "Only value types DWORD and SZ are"
+			  "currently implemented for setting values.\n");
 		goto done;
 	}
 

Modified: branches/SAMBA_3_0_26/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0_26/source/utils/net_conf.c	2007-06-29 11:54:29 UTC (rev 23654)
+++ branches/SAMBA_3_0_26/source/utils/net_conf.c	2007-06-29 12:15:41 UTC (rev 23655)
@@ -145,7 +145,7 @@
 /*
  * add a value to a key. 
  */
-static WERROR reg_setvalue_internal(struct registry_key *key, 
+static WERROR reg_setvalue_internal(struct registry_key *key,
 				    const char *valname,
 				    const char *valtype,
 				    const char *valstr)
@@ -165,7 +165,8 @@
 		val.v.sz.len = strlen(valstr) + 1;
 	}
 	else {
-		d_fprintf(stderr, "Sorry, only value types DWORD and SZ implementd currently for setting values.\n");
+		d_fprintf(stderr, "Only value types DWORD and SZ are"
+			  "currently implemented for setting values.\n");
 		goto done;
 	}
 



More information about the samba-cvs mailing list