projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91acc8a
)
Remove double include; fcnctl seems to be around in several locations.
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 18 Oct 2011 19:46:12 +0000
(21:46 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 18 Oct 2011 19:46:12 +0000
(21:46 +0200)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 466bb2c32da704fe39e588782c7142fb8e7414c6..795dd604d734f881f0792d6398e44a3886cd3871 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-30,7
+30,6
@@
#define SHOW_ME_VAPPEND_PRINTF
#include <stdarg.h>
#ifndef LINUX_SENDFILE
-#include <bits/fcntl.h>
#include <sys/sendfile.h>
#endif
#include "libcitadel.h"
@@
-3842,7
+3841,6
@@
int FileRecvChunked(FDIOBuffer *FDB, const char **Err)
#ifdef LINUX_SENDFILE
ssize_t sent, pipesize;
- long foo = 0;
pipesize = splice(FDB->IOB->fd, NULL,
FDB->SplicePipe[1], NULL,