projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc15465
)
Fix compilation on 32-bit systems.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Thu, 19 Sep 2013 09:34:54 +0000
(11:34 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Thu, 19 Sep 2013 09:34:54 +0000
(11:34 +0200)
server.cpp
patch
|
blob
|
history
diff --git
a/server.cpp
b/server.cpp
index
a5f6a32
..
0ed44fe
100644
(file)
--- a/
server.cpp
+++ b/
server.cpp
@@
-432,7
+432,7
@@
sending_data_again:
ssize_t ret;
do {
-
l
off_t offset = client->stream_pos % stream->backlog_size;
+ off_t offset = client->stream_pos % stream->backlog_size;
ret = sendfile(client->sock, stream->data_fd, &offset, bytes_to_send);
} while (ret == -1 && errno == EINTR);