aboutsummaryrefslogtreecommitdiffstats
path: root/loadparm.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-09-16 20:35:05 +0000
committerWayne Davison <wayned@samba.org>2005-09-16 20:35:05 +0000
commit9059e0ac2fe66857af46c5716749ea8789e99e1a (patch)
treec7d038b4fdaac269171ed039093ae6473cd24f59 /loadparm.c
parent29fad7a3d8473a5e48c893c321a70faa41244d46 (diff)
downloadandroid_external_rsync-9059e0ac2fe66857af46c5716749ea8789e99e1a.tar.gz
android_external_rsync-9059e0ac2fe66857af46c5716749ea8789e99e1a.tar.bz2
android_external_rsync-9059e0ac2fe66857af46c5716749ea8789e99e1a.zip
Improved the sDefault initialization so that the prefixed
comments exactly match the variable names (making sure that they will sort exactly the same way as the variables).
Diffstat (limited to 'loadparm.c')
-rw-r--r--loadparm.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/loadparm.c b/loadparm.c
index 3a53b1e2..10c45fef 100644
--- a/loadparm.c
+++ b/loadparm.c
@@ -158,40 +158,40 @@ typedef struct
/* This is a default service used to prime a services structure */
static service sDefault =
{
- /* auth users */ NULL,
- /* comment */ NULL,
- /* dont compress */ "*.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz",
- /* exclude */ NULL,
- /* exclude from */ NULL,
- /* filter */ NULL,
- /* gid */ NOBODY_GROUP,
- /* hosts allow */ NULL,
- /* hosts deny */ NULL,
- /* include */ NULL,
- /* include from */ NULL,
- /* lock file */ DEFAULT_LOCK_FILE,
- /* log format */ "%o %h [%a] %m (%u) %f %l",
- /* name */ NULL,
- /* path */ NULL,
- /* postxfer_exec */ NULL,
- /* prexfer_exec */ NULL,
- /* refuse options */ NULL,
- /* secrets file */ NULL,
- /* temp_dir */ NULL,
- /* uid */ NOBODY_USER,
-
- /* max connections */ 0,
- /* max verbosity */ 1,
- /* timeout */ 0,
-
- /* ignore errors */ False,
- /* ignore nonreadable */ False,
- /* list */ True,
- /* read only */ True,
- /* strict modes */ True,
- /* transfer logging */ False,
- /* use chroot */ True,
- /* write only */ False,
+ /* auth_users */ NULL,
+ /* comment */ NULL,
+ /* dont_compress */ "*.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz",
+ /* exclude */ NULL,
+ /* exclude_from */ NULL,
+ /* filter */ NULL,
+ /* gid */ NOBODY_GROUP,
+ /* hosts_allow */ NULL,
+ /* hosts_deny */ NULL,
+ /* include */ NULL,
+ /* include_from */ NULL,
+ /* lock_file */ DEFAULT_LOCK_FILE,
+ /* log_format */ "%o %h [%a] %m (%u) %f %l",
+ /* name */ NULL,
+ /* path */ NULL,
+ /* postxfer_exec */ NULL,
+ /* prexfer_exec */ NULL,
+ /* refuse_options */ NULL,
+ /* secrets_file */ NULL,
+ /* temp_dir */ NULL,
+ /* uid */ NOBODY_USER,
+
+ /* max_connections */ 0,
+ /* max_verbosity */ 1,
+ /* timeout */ 0,
+
+ /* ignore_errors */ False,
+ /* ignore_nonreadable */ False,
+ /* list */ True,
+ /* read_only */ True,
+ /* strict_modes */ True,
+ /* transfer_logging */ False,
+ /* use_chroot */ True,
+ /* write_only */ False,
};