git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
773182f
)
regshell: Fix a counter that can actually be non-zero.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 8 Feb 2012 13:17:17 +0000
(14:17 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 8 Feb 2012 15:00:22 +0000
(16:00 +0100)
This was a regression caused by one of the unsigned patches.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb 8 16:00:22 CET 2012 on sn-devel-104
source4/lib/registry/tools/regshell.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/tools/regshell.c
b/source4/lib/registry/tools/regshell.c
index 6bd7fd3b8bdd0bc399971efa08e2848a0002c7fb..1a4067bce35352beafa31b7edd172d7d61f1240a 100644
(file)
--- a/
source4/lib/registry/tools/regshell.c
+++ b/
source4/lib/registry/tools/regshell.c
@@
-428,7
+428,7
@@
static char **reg_complete_command(const char *text, int start, int end)
/* Complete command */
char **matches;
size_t len, samelen=0;
-
unsigned
int i, count=1;
+ int i, count=1;
matches = malloc_array_p(char *, MAX_COMPLETIONS);
if (!matches) return NULL;