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)
downloadgnunet-7dc9c567366b73f192eaf4eab4570e6119e07000.tar.gz
gnunet-7dc9c567366b73f192eaf4eab4570e6119e07000.zip
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 bdde163ae..d6a434e6e 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)
1538 } 1538 }
1539 if (NULL != ns) 1539 if (NULL != ns)
1540 { 1540 {
1541 pc->namespace = GNUNET_FS_namespace_create (h, ns); 1541 pc->ns = GNUNET_FS_namespace_create (h, ns);
1542 if (NULL == pc->namespace) 1542 if (NULL == pc->ns)
1543 { 1543 {
1544 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1544 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1545 _ 1545 _
@@ -1658,7 +1658,7 @@ GNUNET_FS_publish_sync_ (struct GNUNET_FS_PublishContext *pc)
1658 (NULL == pc->fi_pos) ? NULL : pc->fi_pos->serialization)) || 1658 (NULL == pc->fi_pos) ? NULL : pc->fi_pos->serialization)) ||
1659 (GNUNET_OK != 1659 (GNUNET_OK !=
1660 GNUNET_BIO_write_string (wh, 1660 GNUNET_BIO_write_string (wh,
1661 (NULL == pc->namespace) ? NULL : pc->namespace->name))) 1661 (NULL == pc->ns) ? NULL : pc->ns->name)))
1662 { 1662 {
1663 GNUNET_break (0); 1663 GNUNET_break (0);
1664 goto cleanup; 1664 goto cleanup;