aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pr.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-17 21:46:49 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-17 21:46:49 +0000
commit5a93bd4fd60d91de3b0756c78550297fd7fbfc55 (patch)
treeea8b2d25929744178e6f3cbdbc814816b24068a6 /src/fs/gnunet-service-fs_pr.c
parentfc420d620e874f4dcba2ba37c544407019076930 (diff)
-renaming stream->mesh where applicable
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r--src/fs/gnunet-service-fs_pr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c
index de7a729b68..53be142db5 100644
--- a/src/fs/gnunet-service-fs_pr.c
+++ b/src/fs/gnunet-service-fs_pr.c
@@ -67,7 +67,7 @@
* If obtaining a block via mesh fails, how often do we retry it before
* giving up for good (and sticking to non-anonymous transfer)?
*/
-#define STREAM_RETRY_MAX 3
+#define MESH_RETRY_MAX 3
/**
@@ -116,9 +116,9 @@ struct GSF_PendingRequest
struct GNUNET_DHT_GetHandle *gh;
/**
- * Stream request handle for this request (or NULL for none).
+ * Mesh request handle for this request (or NULL for none).
*/
- struct GSF_StreamRequest *mesh_request;
+ struct GSF_MeshRequest *mesh_request;
/**
* Function to call upon completion of the local get
@@ -1163,7 +1163,7 @@ mesh_reply_proc (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Error retrieiving block via mesh\n");
pr->mesh_retry_count++;
- if (pr->mesh_retry_count >= STREAM_RETRY_MAX)
+ if (pr->mesh_retry_count >= MESH_RETRY_MAX)
return; /* give up on mesh */
/* retry -- without delay, as this is non-anonymous
and mesh/mesh connect will take some time anyway */
@@ -1186,7 +1186,7 @@ mesh_reply_proc (void *cls,
return;
}
GNUNET_STATISTICS_update (GSF_stats,
- gettext_noop ("# Replies received from STREAM"), 1,
+ gettext_noop ("# Replies received from MESH"), 1,
GNUNET_NO);
memset (&prq, 0, sizeof (prq));
prq.data = data;