Lines 1-115
Link Here
|
1 |
--- ./ndtpd/ndtpd.c.org Fri May 28 19:02:50 1999 |
|
|
2 |
+++ ./ndtpd/ndtpd.c Wed Aug 11 05:23:02 1999 |
3 |
@@ -497,9 +497,9 @@ |
4 |
* Set `once_started' flag. |
5 |
*/ |
6 |
if (once_started) |
7 |
- syslog(LOG_NOTICE, "server restarted"); |
8 |
+ syslog(LOG_INFO, "server restarted"); |
9 |
else |
10 |
- syslog(LOG_NOTICE, "server started"); |
11 |
+ syslog(LOG_INFO, "server started"); |
12 |
once_started = 1; |
13 |
|
14 |
/* |
15 |
@@ -626,13 +626,13 @@ |
16 |
*/ |
17 |
if (max_clients != 0) { |
18 |
if (get_ticket(&connection_ticket_stock) < 0) { |
19 |
- syslog(LOG_NOTICE, "full of clients"); |
20 |
+ syslog(LOG_INFO, "full of clients"); |
21 |
shutdown(accepted_file, 2); |
22 |
exit(0); |
23 |
} |
24 |
} |
25 |
|
26 |
- syslog(LOG_NOTICE, "connected: user=%s, host=%s(%s)", client_user, |
27 |
+ syslog(LOG_INFO, "connected: user=%s, host=%s(%s)", client_user, |
28 |
client_hostname, client_address); |
29 |
|
30 |
/* |
31 |
@@ -660,7 +660,7 @@ |
32 |
clear_line_buffer(&line_buffer); |
33 |
clear_ticket_stock(&connection_ticket_stock); |
34 |
|
35 |
- syslog(LOG_ERR, "the child server process exits"); |
36 |
+ syslog(LOG_INFO, "the child server process exits"); |
37 |
exit(0); |
38 |
|
39 |
/* |
40 |
@@ -777,12 +777,12 @@ |
41 |
bind_ticket_stock(&connection_ticket_stock, connection_lock_filename, |
42 |
max_clients); |
43 |
if (get_ticket(&connection_ticket_stock) < 0) { |
44 |
- syslog(LOG_NOTICE, "full of clients"); |
45 |
+ syslog(LOG_INFO, "full of clients"); |
46 |
goto die; |
47 |
} |
48 |
} |
49 |
|
50 |
- syslog(LOG_NOTICE, "connected: user=%s, host=%s(%s)", client_user, |
51 |
+ syslog(LOG_INFO, "connected: user=%s, host=%s(%s)", client_user, |
52 |
client_hostname, client_address); |
53 |
|
54 |
/* |
55 |
@@ -810,7 +810,7 @@ |
56 |
clear_line_buffer(&line_buffer); |
57 |
clear_ticket_stock(&connection_ticket_stock); |
58 |
|
59 |
- syslog(LOG_NOTICE, "the server exits"); |
60 |
+ syslog(LOG_INFO, "the server exits"); |
61 |
exit(0); |
62 |
|
63 |
/* |
64 |
@@ -826,7 +826,7 @@ |
65 |
clear_line_buffer(&line_buffer); |
66 |
clear_ticket_stock(&connection_ticket_stock); |
67 |
|
68 |
- syslog(LOG_NOTICE, "the server exits"); |
69 |
+ syslog(LOG_INFO, "the server exits"); |
70 |
exit(1); |
71 |
} |
72 |
|
73 |
@@ -875,7 +875,7 @@ |
74 |
openlog(program_name, LOG_NDELAY | LOG_PID); |
75 |
#endif |
76 |
|
77 |
- syslog(LOG_NOTICE, "connected: user=%s, host=%s(%s)", client_user, |
78 |
+ syslog(LOG_INFO, "connected: user=%s, host=%s(%s)", client_user, |
79 |
client_hostname, client_address); |
80 |
|
81 |
/* |
82 |
@@ -1100,12 +1100,12 @@ |
83 |
{ |
84 |
alarm(0); |
85 |
if (sig == SIGALRM) { |
86 |
- syslog(LOG_NOTICE, "the server process exits, timeout"); |
87 |
+ syslog(LOG_INFO, "the server process exits, timeout"); |
88 |
} else if (server_mode == SERVER_MODE_STANDALONE) { |
89 |
- syslog(LOG_CRIT, "the server process exits, receives SIG%s", |
90 |
+ syslog(LOG_INFO, "the server process exits, receives SIG%s", |
91 |
signal_name(sig)); |
92 |
} else { |
93 |
- syslog(LOG_ERR, "the server process exits, receives SIG%s", |
94 |
+ syslog(LOG_INFO, "the server process exits, receives SIG%s", |
95 |
signal_name(sig)); |
96 |
} |
97 |
|
98 |
@@ -1157,7 +1157,7 @@ |
99 |
int sig; |
100 |
{ |
101 |
alarm(0); |
102 |
- syslog(LOG_ERR, "the child server process exits, receives SIG%s", |
103 |
+ syslog(LOG_INFO, "the child server process exits, receives SIG%s", |
104 |
signal_name(sig)); |
105 |
shutdown(accepted_file, 2); |
106 |
|
107 |
@@ -1191,7 +1191,7 @@ |
108 |
int status; |
109 |
#endif |
110 |
|
111 |
- syslog(LOG_NOTICE, "receives SIGCHLD"); |
112 |
+ syslog(LOG_INFO, "receives SIGCHLD"); |
113 |
|
114 |
#ifdef HAVE_WAITPID |
115 |
while (0 < waitpid(-1, &status, WNOHANG)) |