projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4dab0
)
* substracting independend pointers with no conjunction gives mad numbers. thanks...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 29 Aug 2010 16:55:55 +0000
(16:55 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 29 Aug 2010 16:55:55 +0000
(16:55 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 80eb54f0c2461674e32252c9355c84b69689f8bc..6f32d66ef108ad36f24c4a843fff77a0f96280df 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-191,9
+191,9
@@
int StrBuf_ServGetln(StrBuf *buf)
#ifdef SERV_TRACE
else
{
- long pos
=
0;
+ long pos
=
0;
if (WCC->ReadPos != NULL)
- pos = WCC->ReadPos - ChrPtr(
b
uf);
+ pos = WCC->ReadPos - ChrPtr(
WCC->ReadB
uf);
lprintf(9, "%3d<<<[%ld]%s\n", WC->serv_sock, pos, ChrPtr(buf));
}
#endif