]> code.citadel.org Git - citadel.git/blobdiff - webcit/tcp_sockets.c
Remove $Id$ tags from most of webcit
[citadel.git] / webcit / tcp_sockets.c
index 80eb54f0c2461674e32252c9355c84b69689f8bc..99173ea518771aef130267864d561639112ec5d6 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Copyright (c) 1987-2010 by the citadel.org team
  *
  * This program is free software; you can redistribute it and/or modify
@@ -191,9 +189,9 @@ int StrBuf_ServGetln(StrBuf *buf)
 #ifdef SERV_TRACE
        else 
        {
-               long pos=0;
+               long pos = 0;
                if (WCC->ReadPos != NULL)
-                       pos = WCC->ReadPos - ChrPtr(buf);
+                       pos = WCC->ReadPos - ChrPtr(WCC->ReadBuf);
                lprintf(9, "%3d<<<[%ld]%s\n", WC->serv_sock, pos, ChrPtr(buf));
        }
 #endif