diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/debug.c | 5 | ||||
-rw-r--r-- | source3/lib/util.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 476023a7ba..02bf6710f5 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -477,8 +477,9 @@ BOOL dbghdr( int level, char *file, char *func, int line ) return( True ); /* Print it all out at once. */ - Debug1( "[%s, %d] %s%s%s(%d)\n", - timestring(), level, file, (*file)?":":"", func, line ); + if(lp_timestamp_logs()) + Debug1( "[%s, %d] %s%s%s(%d)\n", + timestring(), level, file, (*file)?":":"", func, line ); return( True ); } /* dbghdr */ diff --git a/source3/lib/util.c b/source3/lib/util.c index 0c9fa55d7d..a5e1819ae2 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2334,7 +2334,7 @@ BOOL receive_local_message(int fd, char *buffer, int buffer_len, int timeout) for processing. ****************************************************************************/ -typedef struct smb_message_list { +typedef struct { ubi_slNode msg_next; char *msg_buf; int msg_len; |