diff options
author | Maximilian Szengel <gnunet@maxsz.de> | 2012-04-09 14:56:10 +0000 |
---|---|---|
committer | Maximilian Szengel <gnunet@maxsz.de> | 2012-04-09 14:56:10 +0000 |
commit | 08e1b05fdeffaf4e355bc3001348630ac9909eee (patch) | |
tree | b21ce02d9cee5601f4accb53ad08b8be7c805d4d /src/regex/test_regex.c | |
parent | 47c8b99f44c7c9723061fe0e9c955edb3170a022 (diff) | |
download | gnunet-08e1b05fdeffaf4e355bc3001348630ac9909eee.tar.gz gnunet-08e1b05fdeffaf4e355bc3001348630ac9909eee.zip |
fixes
Diffstat (limited to 'src/regex/test_regex.c')
-rw-r--r-- | src/regex/test_regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex/test_regex.c b/src/regex/test_regex.c index 4c08c7c53..65c9e6c17 100644 --- a/src/regex/test_regex.c +++ b/src/regex/test_regex.c | |||
@@ -75,6 +75,8 @@ test_random (unsigned int rx_length, unsigned int max_str_len, unsigned int str_ | |||
75 | 75 | ||
76 | rand_rxp = rand_rx; | 76 | rand_rxp = rand_rx; |
77 | matching_strp = matching_str[0]; | 77 | matching_strp = matching_str[0]; |
78 | current_char = 0; | ||
79 | last_was_op = 1; | ||
78 | 80 | ||
79 | // Generate random regex and a string that matches the regex | 81 | // Generate random regex and a string that matches the regex |
80 | for (i=0; i<rx_length; i++) | 82 | for (i=0; i<rx_length; i++) |