comparison common-channel.c @ 300:baea1d43e7eb

Some cleanups/fixes for various TRACE statements
author Matt Johnston <matt@ucc.asn.au>
date Sat, 25 Mar 2006 12:57:37 +0000
parents e109fb08b8ee
children 827f87dfbc22 5488db2e9e4e
comparison
equal deleted inserted replaced
291:55a99934db87 300:baea1d43e7eb
234 static void checkclose(struct Channel *channel) { 234 static void checkclose(struct Channel *channel) {
235 235
236 TRACE(("checkclose: writefd %d, readfd %d, errfd %d, sentclosed %d, recvclosed %d", 236 TRACE(("checkclose: writefd %d, readfd %d, errfd %d, sentclosed %d, recvclosed %d",
237 channel->writefd, channel->readfd, 237 channel->writefd, channel->readfd,
238 channel->errfd, channel->sentclosed, channel->recvclosed)) 238 channel->errfd, channel->sentclosed, channel->recvclosed))
239 TRACE(("writebuf %d extrabuf %s extrabuf %d", 239 TRACE(("writebuf size %d extrabuf ptr 0x%x extrabuf size %d",
240 cbuf_getused(channel->writebuf), 240 cbuf_getused(channel->writebuf),
241 channel->writebuf, 241 channel->writebuf,
242 channel->writebuf ? 0 : cbuf_getused(channel->extrabuf))) 242 channel->writebuf ? 0 : cbuf_getused(channel->extrabuf)))
243 243
244 if (!channel->sentclosed) { 244 if (!channel->sentclosed) {