Mercurial > noffle
diff src/lock.c @ 185:fed1334d766b noffle
[svn] * src/client.c: Change variable only used on constant to 'const'.
* src/filter.c: Add a couple of 'return's after ASSERT() to remove
compiler warnings about functions needing returns.
* NEWS,TODO,configure,configure.in,noffle.conf.example,docs/NOTES,
docs/noffle.conf.5,src/client.c,src/configfile.c,src/content.c,
src/control.c,src/database.c,src/fetch.c,src/fetchlist.c,src/filter.c,
src/group.c,src/lock.c,src/log.c,src/log.h,src/noffle.c,src/outgoing.c,
src/post.c,src/protocol.c,src/request.c,src/server.c,src/util.c:
Debug logging is always compiled and selected via noffle.conf. All debug
logs are classified as all, none, config, control, expire, fetch,
filter, newsbase, noffle, post, protocol, requests and server.
author | bears |
---|---|
date | Sun, 05 Aug 2001 09:24:22 +0100 |
parents | c912e8288164 |
children | 24d4cd032da5 |
line wrap: on
line diff
--- a/src/lock.c Tue Jun 19 11:23:43 2001 +0100 +++ b/src/lock.c Sun Aug 05 09:24:22 2001 +0100 @@ -1,7 +1,7 @@ /* lock.c - $Id: lock.c 292 2001-05-15 12:07:53Z bears $ + $Id: lock.c 300 2001-08-05 08:24:22Z bears $ */ #if HAVE_CONFIG_H @@ -101,7 +101,7 @@ struct flock l; ASSERT( ! gotLock( lock ) ); - Log_dbg( "Waiting for lock %s ...", lock->name ); + Log_dbg( LOG_DBG_NEWSBASE, "Waiting for lock %s ...", lock->name ); if ( lock->lockFile[ 0 ] == '\0' ) snprintf( lock->lockFile, MAXCHAR, "%s/lock/%s", Cfg_spoolDir(), lock->name ); @@ -158,7 +158,7 @@ } lock->lockFd = fd; - Log_dbg( "Lock successful" ); + Log_dbg( LOG_DBG_NEWSBASE, "Lock successful" ); return TRUE; } @@ -177,7 +177,7 @@ strerror( errno ) ); close( lock->lockFd ); lock->lockFd = -1; - Log_dbg( "Releasing lock" ); + Log_dbg( LOG_DBG_NEWSBASE, "Releasing lock" ); } static Bool