summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-03-10 20:34:01 -0600
committerAndrew Bartlett <abartlet@samba.org>2010-03-11 15:31:08 +1100
commita6253a45c0733e81a8d2200d1d8892383bc00c31 (patch)
tree8fb33de3451130cedc9af8b18f3b2a1396f8cc2c /lib/util
parentade93755d51e80374e4e6bc6bc501e3230988799 (diff)
downloadsamba-a6253a45c0733e81a8d2200d1d8892383bc00c31.tar.gz
samba-a6253a45c0733e81a8d2200d1d8892383bc00c31.tar.bz2
samba-a6253a45c0733e81a8d2200d1d8892383bc00c31.zip
lib/util - Removed curly braces from generate_random_password().
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/genrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/genrand.c b/lib/util/genrand.c
index 02b8d8b478..f8aceae40a 100644
--- a/lib/util/genrand.c
+++ b/lib/util/genrand.c
@@ -368,7 +368,7 @@ again:
_PUBLIC_ char *generate_random_password(TALLOC_CTX *mem_ctx, size_t min, size_t max)
{
char *retstr;
- const char *c_list = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,@$%&!?:;<=>(){}[]~";
+ const char *c_list = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_-#.,@$%&!?:;<=>()[]~";
size_t len = max;
size_t diff;