aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-02 08:32:20 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-02 08:32:20 +0000
commit555214089c7045298f23fea9e060ea931804e75f (patch)
tree46a931f5ba6da92c9e350b808fee0f617e5d0f10 /src/fs/fs_publish.c
parent56aff3f29aa8cabb5e085610f1df50d537de1d9d (diff)
downloadgnunet-555214089c7045298f23fea9e060ea931804e75f.tar.gz
gnunet-555214089c7045298f23fea9e060ea931804e75f.zip
trying to port statvfs call to BSD
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c
index 13701405e..71d309320 100644
--- a/src/fs/fs_publish.c
+++ b/src/fs/fs_publish.c
@@ -737,7 +737,7 @@ hash_for_index_cb (void *cls,
737 struct IndexStartMessage *ism; 737 struct IndexStartMessage *ism;
738 size_t slen; 738 size_t slen;
739 struct GNUNET_CLIENT_Connection *client; 739 struct GNUNET_CLIENT_Connection *client;
740 uint32_t dev; 740 uint64_t dev;
741 uint64_t ino; 741 uint64_t ino;
742 char *fn; 742 char *fn;
743 743
@@ -809,7 +809,7 @@ hash_for_index_cb (void *cls,
809 &dev, 809 &dev,
810 &ino)) 810 &ino))
811 { 811 {
812 ism->device = htonl (dev); 812 ism->device = GNUNET_htonll (dev);
813 ism->inode = GNUNET_htonll(ino); 813 ism->inode = GNUNET_htonll(ino);
814 } 814 }
815 else 815 else