projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Email gateway obeys 'Reply-To:' in header.
[egate.git]
/
util
/
gwdbtest.c
diff --git
a/util/gwdbtest.c
b/util/gwdbtest.c
index
baf680c
..
505182d
100644
(file)
--- a/
util/gwdbtest.c
+++ b/
util/gwdbtest.c
@@
-45,7
+45,12
@@
* Europagate, 1995
*
* $Log: gwdbtest.c,v $
* Europagate, 1995
*
* $Log: gwdbtest.c,v $
- * Revision 1.2 1995/05/16 09:40:53 adam
+ * Revision 1.3 1995/12/20 16:28:08 adam
+ * Extra parameter block to gw_db_open. If block is 0 gw_db_open
+ * returns NULL if lock couldn't be satisfied.
+ * Minor changes in iso2709.c.
+ *
+ * Revision 1.2 1995/05/16 09:40:53 adam
* LICENSE.
*
* Revision 1.1 1995/03/27 08:25:02 adam
* LICENSE.
*
* Revision 1.1 1995/03/27 08:25:02 adam
@@
-71,7
+76,7
@@
int main (int argc, char **argv)
int r;
int no_insert = 0;
int r;
int no_insert = 0;
- gwdb = gw_db_open ("db.test", 1);
+ gwdb = gw_db_open ("db.test", 1, 1);
for (no = 0; scanf ("%s", word) == 1; no++)
{
r = gw_db_lookup (gwdb, word, strlen(word), & buf, &count);
for (no = 0; scanf ("%s", word) == 1; no++)
{
r = gw_db_lookup (gwdb, word, strlen(word), & buf, &count);