projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
471a8d6
)
use large file support seek
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 Oct 2013 06:13:16 +0000
(06:13 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Mon, 7 Oct 2013 06:13:16 +0000
(06:13 +0000)
src/server/server.c
patch
|
blob
|
history
diff --git
a/src/server/server.c
b/src/server/server.c
index
5431725
..
a42f931
100644
(file)
--- a/
src/server/server.c
+++ b/
src/server/server.c
@@
-149,7
+149,7
@@
file_reader(void *cls, uint64_t pos, char *buf, int max)
{
FILE *file = cls;
{
FILE *file = cls;
- fseek(file, pos, SEEK_SET);
+ fseek
o
(file, pos, SEEK_SET);
return fread(buf, 1, max, file);
}
return fread(buf, 1, max, file);
}