search for: motd_file

Displaying 2 results from an estimated 2 matches for "motd_file".

Did you mean: load_file
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
Dear List, Currently, I read this in clientserver.c, line 148. motd = lp_motd_file(); I have googled, but didn't the definition of char *lp_motd_file(void). Can anyone help to explain the following code segment. Many thanks. #line 147 ~ 160, in clientserver.c, version 3.0.5 > if (!am_client) { > motd = lp_motd_file(); > if (motd && *motd) { > FILE *f =...
2003 Apr 15
0
Patch for stderr logging
...<3;i++) { + for (i=1;i<2;i++) { close(i); open("/dev/null", O_RDWR); } diff -Nuar rsync-2.5.6/loadparm.c rsync-2.5.6.new/loadparm.c --- rsync-2.5.6/loadparm.c Sun Apr 13 00:06:02 2003 +++ rsync-2.5.6.new/loadparm.c Sat Apr 12 23:52:58 2003 @@ -100,6 +100,8 @@ { char *motd_file; char *log_file; + BOOL log_timestamp; + BOOL log_pid; char *pid_file; int syslog_facility; char *socket_options; @@ -267,6 +269,8 @@ {"syslog facility", P_ENUM, P_GLOBAL, &Globals.syslog_facility, enum_facilities,0}, {"socket options", P_STRING, P_GLOBA...