svn commit: samba r7926 - in branches/SAMBA_4_0/source/lib/ldb/tools: .

tridge at samba.org tridge at samba.org
Sun Jun 26 06:09:03 GMT 2005


Author: tridge
Date: 2005-06-26 06:09:03 +0000 (Sun, 26 Jun 2005)
New Revision: 7926

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

Log:
poptGetNextOpt() returns int, not char 

this was breaking ldbadd on some platforms

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c	2005-06-26 06:08:19 UTC (rev 7925)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c	2005-06-26 06:09:03 UTC (rev 7926)
@@ -42,7 +42,7 @@
 	int r;
 #endif
         int num_options = 0;
-	char opt;
+	int opt;
 	struct poptOption popt_options[] = {
 		POPT_AUTOHELP
 		{ "url",       'H', POPT_ARG_STRING, &options.url, 0, "database URL", "URL" },



More information about the samba-cvs mailing list