projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c0a28
)
assigning proofs
author
Maximilian Szengel
<gnunet@maxsz.de>
Mon, 4 Jun 2012 13:59:28 +0000
(13:59 +0000)
committer
Maximilian Szengel
<gnunet@maxsz.de>
Mon, 4 Jun 2012 13:59:28 +0000
(13:59 +0000)
src/regex/regex.c
patch
|
blob
|
history
diff --git
a/src/regex/regex.c
b/src/regex/regex.c
index c1f2801c608fb78fb02e39618973e7e141f2e950..551610baab8ab4a0096f417b81784a738d2fd65a 100644
(file)
--- a/
src/regex/regex.c
+++ b/
src/regex/regex.c
@@
-917,6
+917,13
@@
automaton_create_proofs (struct GNUNET_REGEX_Automaton *a)
}
}
+ // assign proofs
+ for (i = 0; i < n; i++)
+ {
+ states[i]->proof = GNUNET_strdup (R_last[a->start->marked][i]);
+ }
+
+ // cleanup
for (i = 0; i < n; i++)
{
for (j = 0; j < n; j++)