mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 09:44:44 +00:00
Removed some line feeds in debug statements.
This commit is contained in:
parent
77f54693ef
commit
1c14e2e0a2
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#ifdef ZLIB
|
#ifdef ZLIB
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: conn-zip.c,v 1.8 2005/07/07 18:48:33 fw Exp $";
|
static char UNUSED id[] = "$Id: conn-zip.c,v 1.9 2005/08/02 22:48:57 alex Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -135,7 +135,7 @@ Zip_Flush( CONN_ID Idx )
|
|||||||
|
|
||||||
assert(out->avail_out <= WRITEBUFFER_LEN);
|
assert(out->avail_out <= WRITEBUFFER_LEN);
|
||||||
zipbuf_used = WRITEBUFFER_LEN - out->avail_out;
|
zipbuf_used = WRITEBUFFER_LEN - out->avail_out;
|
||||||
Log(LOG_DEBUG, "zipbuf_used: %d\n", zipbuf_used);
|
Log(LOG_DEBUG, "zipbuf_used: %d", zipbuf_used);
|
||||||
if (!array_catb( &My_Connections[Idx].wbuf, (char*) zipbuf, zipbuf_used ))
|
if (!array_catb( &My_Connections[Idx].wbuf, (char*) zipbuf, zipbuf_used ))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ Unzip_Buffer( CONN_ID Idx )
|
|||||||
assert(z_rdatalen >= in->avail_in);
|
assert(z_rdatalen >= in->avail_in);
|
||||||
in_len = z_rdatalen - in->avail_in;
|
in_len = z_rdatalen - in->avail_in;
|
||||||
unzipbuf_used = READBUFFER_LEN - in->avail_out;
|
unzipbuf_used = READBUFFER_LEN - in->avail_out;
|
||||||
Log(LOG_DEBUG, "unzipbuf_used: %d - %d = %d\n", READBUFFER_LEN, in->avail_out, unzipbuf_used);
|
Log(LOG_DEBUG, "unzipbuf_used: %d - %d = %d", READBUFFER_LEN, in->avail_out, unzipbuf_used);
|
||||||
assert(unzipbuf_used <= READBUFFER_LEN);
|
assert(unzipbuf_used <= READBUFFER_LEN);
|
||||||
if (!array_catb(&My_Connections[Idx].rbuf, (char*) unzipbuf, unzipbuf_used))
|
if (!array_catb(&My_Connections[Idx].rbuf, (char*) unzipbuf, unzipbuf_used))
|
||||||
return false;
|
return false;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: conn.c,v 1.168 2005/07/31 20:13:08 alex Exp $";
|
static char UNUSED id[] = "$Id: conn.c,v 1.169 2005/08/02 22:48:57 alex Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -1522,7 +1522,7 @@ void Read_Resolver_Result( int r_fd )
|
|||||||
char *bufptr;
|
char *bufptr;
|
||||||
char readbuf[HOST_LEN];
|
char readbuf[HOST_LEN];
|
||||||
|
|
||||||
Log( LOG_DEBUG, "Resolver: started, fd %d\n", r_fd );
|
Log( LOG_DEBUG, "Resolver: started, fd %d", r_fd );
|
||||||
/* Search associated connection ... */
|
/* Search associated connection ... */
|
||||||
for( i = 0; i < Pool_Size; i++ )
|
for( i = 0; i < Pool_Size; i++ )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user