projects
/
swift-upb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c147b8
)
- Small Linux fix.
author
arno
<arno@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 20 Oct 2009 12:22:52 +0000
(12:22 +0000)
committer
arno
<arno@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 20 Oct 2009 12:22:52 +0000
(12:22 +0000)
git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@460
e16421f0
-f15b-0410-abcd-
98678b794739
transfer.cpp
patch
|
blob
|
history
diff --git
a/transfer.cpp
b/transfer.cpp
index
bb6cdb7
..
1bdcd64
100644
(file)
--- a/
transfer.cpp
+++ b/
transfer.cpp
@@
-131,7
+131,7
@@
void FileTransfer::SetSize (size_t bytes) { // peaks/root must be already set
}
if (hashmaphandle_ == NULL || hashes_ == NULL)
#else
- hashes_ = (Sha1Hash*) mmap (NULL, expected_size, PROT_READ|PROT_WRITE,
+ hashes_ = (Sha1Hash*) mmap (NULL, expected_size
_
, PROT_READ|PROT_WRITE,
MAP_SHARED, hashfd_, 0);
if (hashes_==MAP_FAILED)
#endif