From 8afc9c80ac11649f06e5517d819dbf201c941acb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 24 Aug 1998 21:49:10 +0000 Subject: Changed ASSERT macros to SMB_ASSERT macros as some systems already have an ASSERT macro defined. Jeremy. (This used to be commit dbe6ad014a8b5dcbf17d7cd9865650c2e040d666) --- source3/smbd/ipc.c | 2 +- source3/smbd/password.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 46fb6a22ff..70c2668d92 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -373,7 +373,7 @@ va_dcl } #if CHECK_TYPES str = va_arg(args,char*); - ASSERT(strncmp(str,p->curpos,strlen(str)) == 0); + SMB_ASSERT(strncmp(str,p->curpos,strlen(str)) == 0); #endif stringneeded = -1; diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 121ebb7f00..ecc86f29ec 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -1191,8 +1191,8 @@ machine %s in domain %s.\n", global_myname, global_myworkgroup )); trust_password_unlock(); /* - * Here we should check the last change time to see if the machine - * password needs changing..... TODO... JRA. + * Here we check the last change time to see if the machine + * password needs changing. JRA. */ if(time(NULL) > lct + lp_machine_password_timeout()) -- cgit