diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-29 10:56:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-29 10:56:15 +0200 |
commit | ce2864cfaa27e55096b480bf35db5f8cee2a5e7e (patch) | |
tree | be47c017d1467870000aa1a507eab3c995304179 /src/namestore/gnunet-zoneimport.c | |
parent | 823215c974ccb1ef3cad9eb1082999cd1b910416 (diff) | |
download | gnunet-ce2864cfaa27e55096b480bf35db5f8cee2a5e7e.tar.gz gnunet-ce2864cfaa27e55096b480bf35db5f8cee2a5e7e.zip |
add option to disable namecache, add velocity calculation and delay correction to zonemaster, fix some ftbfs from recent NAMESTORE API change
Diffstat (limited to 'src/namestore/gnunet-zoneimport.c')
-rw-r--r-- | src/namestore/gnunet-zoneimport.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/namestore/gnunet-zoneimport.c b/src/namestore/gnunet-zoneimport.c index 503262487..55779e06a 100644 --- a/src/namestore/gnunet-zoneimport.c +++ b/src/namestore/gnunet-zoneimport.c | |||
@@ -951,10 +951,10 @@ store_completed_cb (void *cls, | |||
951 | 951 | ||
952 | delta = GNUNET_TIME_absolute_get_duration (last); | 952 | delta = GNUNET_TIME_absolute_get_duration (last); |
953 | last = GNUNET_TIME_absolute_get (); | 953 | last = GNUNET_TIME_absolute_get (); |
954 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 954 | fprintf (stderr, |
955 | "Processed 1000 records in %s\n", | 955 | "Processed 1000 records in %s\n", |
956 | GNUNET_STRINGS_relative_time_to_string (delta, | 956 | GNUNET_STRINGS_relative_time_to_string (delta, |
957 | GNUNET_YES)); | 957 | GNUNET_YES)); |
958 | } | 958 | } |
959 | } | 959 | } |
960 | free_records (req); | 960 | free_records (req); |
@@ -1590,10 +1590,10 @@ process_stdin (void *cls) | |||
1590 | 1590 | ||
1591 | delta = GNUNET_TIME_absolute_get_duration (last); | 1591 | delta = GNUNET_TIME_absolute_get_duration (last); |
1592 | last = GNUNET_TIME_absolute_get (); | 1592 | last = GNUNET_TIME_absolute_get (); |
1593 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1593 | fprintf (stderr, |
1594 | "Imported 1000 records in %s\n", | 1594 | "Imported 1000 records in %s\n", |
1595 | GNUNET_STRINGS_relative_time_to_string (delta, | 1595 | GNUNET_STRINGS_relative_time_to_string (delta, |
1596 | GNUNET_YES)); | 1596 | GNUNET_YES)); |
1597 | } | 1597 | } |
1598 | queue (hn); | 1598 | queue (hn); |
1599 | } | 1599 | } |