diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-26 18:22:54 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-26 18:22:54 +0000 |
commit | 81eae49a1b5dfeadb9aac5974ec87cd01aed9ffd (patch) | |
tree | 35b65462b9209af4bd610552bb485ad22487400e /src/dht | |
parent | bf4a9d8364675b34ac18d505e508006e2b773670 (diff) | |
download | gnunet-81eae49a1b5dfeadb9aac5974ec87cd01aed9ffd.tar.gz gnunet-81eae49a1b5dfeadb9aac5974ec87cd01aed9ffd.zip |
start service
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 4 | ||||
-rw-r--r-- | src/dht/gnunet-dht-put.c | 15 |
2 files changed, 6 insertions, 13 deletions
diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index 7c602cfca..6039e196b 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c | |||
@@ -3354,8 +3354,8 @@ hostkey_callback(void *cls, const struct GNUNET_PeerIdentity *id, | |||
3354 | } | 3354 | } |
3355 | 3355 | ||
3356 | static void | 3356 | static void |
3357 | run(void *cls, char * const *args, const char *cfgfile, | 3357 | run (void *cls, char * const *args, const char *cfgfile, |
3358 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 3358 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
3359 | { | 3359 | { |
3360 | struct stat frstat; | 3360 | struct stat frstat; |
3361 | struct GNUNET_DHTLOG_TrialInfo trial_info; | 3361 | struct GNUNET_DHTLOG_TrialInfo trial_info; |
diff --git a/src/dht/gnunet-dht-put.c b/src/dht/gnunet-dht-put.c index 6bd9f9045..02a4fc217 100644 --- a/src/dht/gnunet-dht-put.c +++ b/src/dht/gnunet-dht-put.c | |||
@@ -149,18 +149,11 @@ run (void *cls, | |||
149 | expiration_seconds)); | 149 | expiration_seconds)); |
150 | 150 | ||
151 | if (verbose) | 151 | if (verbose) |
152 | fprintf (stderr, | 152 | fprintf (stderr, _("Issuing put request for `%s' with data `%s'!\n"), |
153 | _("Issuing put request for `%s' with data `%s'!\n"), | ||
154 | query_key, data); | 153 | query_key, data); |
155 | GNUNET_DHT_put (dht_handle, | 154 | GNUNET_DHT_put (dht_handle, &key, DEFAULT_PUT_REPLICATION, |
156 | &key, | 155 | GNUNET_DHT_RO_NONE, query_type, strlen (data), data, |
157 | DEFAULT_PUT_REPLICATION, | 156 | expiration, timeout, &message_sent_cont, NULL); |
158 | GNUNET_DHT_RO_NONE, | ||
159 | query_type, | ||
160 | strlen (data), data, | ||
161 | expiration, | ||
162 | timeout, | ||
163 | &message_sent_cont, NULL); | ||
164 | 157 | ||
165 | } | 158 | } |
166 | 159 | ||