projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0d1685e
)
Changed stupid log.
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 16 Nov 1995 17:00:44 +0000
(17:00 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 16 Nov 1995 17:00:44 +0000
(17:00 +0000)
dict/lookgrep.c
patch
|
blob
|
history
diff --git
a/dict/lookgrep.c
b/dict/lookgrep.c
index
b4fe4a2
..
149eaf1
100644
(file)
--- a/
dict/lookgrep.c
+++ b/
dict/lookgrep.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lookgrep.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lookgrep.c,v $
- * Revision 1.9 1995-10-27 13:58:09 adam
+ * Revision 1.10 1995-11-16 17:00:44 adam
+ * Changed stupid log.
+ *
+ * Revision 1.9 1995/10/27 13:58:09 adam
* Makes 'Database unavailable' diagnostic.
*
* Revision 1.8 1995/10/19 14:57:21 adam
* Makes 'Database unavailable' diagnostic.
*
* Revision 1.8 1995/10/19 14:57:21 adam
@@
-398,7
+401,7
@@
int dict_lookup_grep (Dict dict, Dict_char *pattern, int range, void *client,
*max_pos = 0;
i = dict_grep (dict, 1, mc, Rj, 0, client, userfunc, prefix, dfa,
max_pos);
*max_pos = 0;
i = dict_grep (dict, 1, mc, Rj, 0, client, userfunc, prefix, dfa,
max_pos);
- logf (LOG_DEBUG, "max_pos = %d", max_pos);
+ logf (LOG_DEBUG, "max_pos = %d", *max_pos);
dfa_delete (&dfa);
xfree (Rj);
rm_MatchContext (&mc);
dfa_delete (&dfa);
xfree (Rj);
rm_MatchContext (&mc);