git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83fb4f
)
r7926: poptGetNextOpt() returns int, not char
author
Andrew Tridgell
<tridge@samba.org>
Sun, 26 Jun 2005 06:09:03 +0000
(06:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:51 +0000
(13:18 -0500)
this was breaking ldbadd on some platforms
(This used to be commit
dd0ac3f68d709c0364d992673e76db73398c0369
)
source4/lib/ldb/tools/cmdline.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/tools/cmdline.c
b/source4/lib/ldb/tools/cmdline.c
index 606c511600c873887131af7c26dc89cf245abd73..48dc8ddd47b2c9d3a1a60d832526300a9c8a574e 100644
(file)
--- a/
source4/lib/ldb/tools/cmdline.c
+++ b/
source4/lib/ldb/tools/cmdline.c
@@
-42,7
+42,7
@@
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
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" },