diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-07-16 22:30:44 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-07-16 22:30:44 +0000 |
commit | 4a28bd19f39bc6cfc1a3cb63bfee819f4f71937e (patch) | |
tree | eb43e3dff5cf11348a8af8c01c32ee12faa5e772 /src/datastore/test_datastore_api.c | |
parent | f0a0b8b8b97d29fd0d7e6f0eaed783935c0fc676 (diff) |
fixing compilation problems
git-svn-id: https://gnunet.org/svn/gnunet@8719 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r-- | src/datastore/test_datastore_api.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c index b4da05fdad..28fc12ef68 100644 --- a/src/datastore/test_datastore_api.c +++ b/src/datastore/test_datastore_api.c @@ -33,6 +33,11 @@ #include "gnunet_protocols.h" #include "gnunet_datastore_service.h" +/** + * How long until we give up on transmitting the message? + */ +#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15) + static struct GNUNET_DATASTORE_Handle *datastore; static struct GNUNET_TIME_Absolute now; @@ -253,6 +258,7 @@ run_continuation (void *cls, get_priority (crc->i), get_anonymity (crc->i), get_expiration (crc->i), + TIMEOUT, &check_success, crc); crc->i++; |