aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-10 22:17:19 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-10 22:17:19 +0000
commit7dc9c567366b73f192eaf4eab4570e6119e07000 (patch)
tree03b0db913f12dfa0e575ff5d735902360e0df3b7 /src/fs/fs_api.c
parentd0e3840931750ca4bf4848d950ab9a0c0b5022bc (diff)
eliminating use of 'namespace' as a fieldname / variable name to be C++ compatible
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r--src/fs/fs_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c
index bdde163ae7..d6a434e6e7 100644
--- a/src/fs/fs_api.c
+++ b/src/fs/fs_api.c
@@ -1538,8 +1538,8 @@ deserialize_publish_file (void *cls, const char *filename)
}
if (NULL != ns)
{
- pc->namespace = GNUNET_FS_namespace_create (h, ns);
- if (NULL == pc->namespace)
+ pc->ns = GNUNET_FS_namespace_create (h, ns);
+ if (NULL == pc->ns)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_
@@ -1658,7 +1658,7 @@ GNUNET_FS_publish_sync_ (struct GNUNET_FS_PublishContext *pc)
(NULL == pc->fi_pos) ? NULL : pc->fi_pos->serialization)) ||
(GNUNET_OK !=
GNUNET_BIO_write_string (wh,
- (NULL == pc->namespace) ? NULL : pc->namespace->name)))
+ (NULL == pc->ns) ? NULL : pc->ns->name)))
{
GNUNET_break (0);
goto cleanup;