summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-16 09:10:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:39 -0500
commit5615d534595013eb8749037d16efd726e728c330 (patch)
tree68eb4f9e7a7b008eeff76517403439f637a702cd /source3/smbd
parentdb21dceb43a0bb049fa87cc5c30861e3a5a53cd2 (diff)
downloadsamba-5615d534595013eb8749037d16efd726e728c330.tar.gz
samba-5615d534595013eb8749037d16efd726e728c330.tar.bz2
samba-5615d534595013eb8749037d16efd726e728c330.zip
r17568: Reformatting -- more than 100 cols is too much :-)
(This used to be commit 2a66abca02b5e95b66ab336f0d0e3977676d4540)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 0fba6af697..edde12465f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -450,7 +450,8 @@ static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
if (smbd_server_fd() != -1 && interactive)
return True;
- if (allowable_number_of_smbd_processes() && smbd_server_fd() != -1 && sys_fork()==0) {
+ if (allowable_number_of_smbd_processes() &&
+ smbd_server_fd() != -1 && sys_fork()==0) {
/* Child code ... */
/* close the listening socket(s) */
@@ -467,7 +468,8 @@ static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
/* this is needed so that we get decent entries
in smbstatus for port 445 connects */
- set_remote_machine_name(get_peer_addr(smbd_server_fd()), False);
+ set_remote_machine_name(get_peer_addr(smbd_server_fd()),
+ False);
/* Reset the state of the random
* number generation system, so
@@ -475,7 +477,8 @@ static BOOL open_sockets_smbd(BOOL is_daemon, BOOL interactive, const char *smb_
* numbers as each other */
set_need_random_reseed();
- /* tdb needs special fork handling - remove CLEAR_IF_FIRST flags */
+ /* tdb needs special fork handling - remove
+ * CLEAR_IF_FIRST flags */
if (tdb_reopen_all(1) == -1) {
DEBUG(0,("tdb_reopen_all failed.\n"));
smb_panic("tdb_reopen_all failed.");