projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f625f
)
Remove the unused IOB_PEEK() macro
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 25 Aug 2020 17:29:28 +0000
(19:29 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 1 Sep 2020 10:22:42 +0000
(12:22 +0200)
Sponsored by: Robert Klemme
project.h
patch
|
blob
|
history
diff --git
a/project.h
b/project.h
index
0999e80
..
6821aa0
100644
(file)
--- a/
project.h
+++ b/
project.h
@@
-488,13
+488,6
@@
struct iob
};
-/**
- * Return the number of bytes in the I/O buffer associated with the passed
- * I/O buffer. May be zero.
- */
-#define IOB_PEEK(IOB) ((IOB->cur > IOB->eod) ? (IOB->eod - IOB->cur) : 0)
-
-
/* Bits for csp->content_type bitmask: */
#define CT_TEXT 0x0001U /**< Suitable for pcrs filtering. */
#define CT_GIF 0x0002U /**< Suitable for GIF filtering. */