svn commit: samba r16744 - in trunk/source/torture: .

vlendec at samba.org vlendec at samba.org
Sat Jul 1 15:22:19 GMT 2006


Author: vlendec
Date: 2006-07-01 15:22:18 +0000 (Sat, 01 Jul 2006)
New Revision: 16744

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

Log:
Another warning
Modified:
   trunk/source/torture/pdbtest.c


Changeset:
Modified: trunk/source/torture/pdbtest.c
===================================================================
--- trunk/source/torture/pdbtest.c	2006-07-01 15:21:17 UTC (rev 16743)
+++ trunk/source/torture/pdbtest.c	2006-07-01 15:22:18 UTC (rev 16744)
@@ -237,7 +237,7 @@
 	struct pdb_methods *pdb;
 	poptContext pc;
 	static char *backend = NULL;
-	static char *unix_user = "nobody";
+	static const char *unix_user = "nobody";
 	struct poptOption long_options[] = {
 		{"username", 'u', POPT_ARG_STRING, &unix_user, 0, "Unix user to use for testing", "USERNAME" },
 		{"backend", 'b', POPT_ARG_STRING, &backend, 0, "Backend to use if not default", "BACKEND[:SETTINGS]" },



More information about the samba-cvs mailing list