git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a09c5a
)
Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int or
author
Jeremy Allison
<jra@samba.org>
Tue, 1 Jul 2008 22:51:54 +0000
(15:51 -0700)
committer
Jeremy Allison
<jra@samba.org>
Tue, 1 Jul 2008 22:51:54 +0000
(15:51 -0700)
the loop never terminates.
Jeremy.
(This used to be commit
80e547665d104a6db376ff4c48bcc01dfd3513ee
)
source3/lib/smbconf/smbconf_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/smbconf/smbconf_util.c
b/source3/lib/smbconf/smbconf_util.c
index aa1636926969617929b6a8ad5ef2d3cf3781b850..271fc47dd447a8caabdbd10360178db1db2ca07f 100644
(file)
--- a/
source3/lib/smbconf/smbconf_util.c
+++ b/
source3/lib/smbconf/smbconf_util.c
@@
-132,7
+132,7
@@
bool smbconf_find_in_array(const char *string, char **list,
bool smbconf_reverse_find_in_array(const char *string, char **list,
uint32_t num_entries, uint32_t *entry)
{
-
u
int32_t i;
+ int32_t i;
if ((string == NULL) || (list == NULL) || (num_entries == 0)) {
return false;