diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 11:00:16 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-12-13 11:00:55 +0100 |
commit | 7b60729d5a37a2427e35b87990058c23c8155c9d (patch) | |
tree | 21ab059dfeb0b2160f989b47f1b74e95ee54c586 /source3 | |
parent | 7a489ec7808824d307400feaddbc7934cb008f9e (diff) | |
download | samba-7b60729d5a37a2427e35b87990058c23c8155c9d.tar.gz samba-7b60729d5a37a2427e35b87990058c23c8155c9d.tar.bz2 samba-7b60729d5a37a2427e35b87990058c23c8155c9d.zip |
s3: Fix some nonempty blank lines
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index f61220b156..7dff92a502 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -64,13 +64,13 @@ struct messaging_context *nmbd_messaging_context(void) static void terminate(void) { DEBUG(0,("Got SIGTERM: going down...\n")); - + /* Write out wins.dat file if samba is a WINS server */ wins_write_database(0,False); - + /* Remove all SELF registered names from WINS */ release_wins_names(); - + /* Announce all server entries as 0 time-to-live, 0 type. */ announce_my_servers_removed(); @@ -168,7 +168,7 @@ static void nmbd_terminate(struct messaging_context *msg, static void expire_names_and_servers(time_t t) { static time_t lastrun = 0; - + if ( !lastrun ) lastrun = t; if ( t < (lastrun + 5) ) @@ -800,11 +800,11 @@ static bool open_sockets(bool isdaemon, int port) poptFreeContext(pc); global_in_nmbd = true; - + StartupTime = time(NULL); - + sys_srandom(time(NULL) ^ sys_getpid()); - + if (!override_logfile) { char *lfile = NULL; if (asprintf(&lfile, "%s/log.nmbd", get_dyn_LOGFILEBASE()) < 0) { @@ -813,10 +813,10 @@ static bool open_sockets(bool isdaemon, int port) lp_set_logfile(lfile); SAFE_FREE(lfile); } - + fault_setup(); dump_core_setup("nmbd", lp_logfile()); - + /* POSIX demands that signals are inherited. If the invoking process has * these signals masked, we will have problems, as we won't receive them. */ BlockSignals(False, SIGHUP); @@ -882,7 +882,7 @@ static bool open_sockets(bool isdaemon, int port) DEBUG(0,("standard input is not a socket, assuming -D option\n")); is_daemon = True; } - + if (is_daemon && !opt_interactive) { DEBUG( 2, ( "Becoming a daemon.\n" ) ); become_daemon(Fork, no_process_group, log_stdout); |