aboutsummaryrefslogtreecommitdiffstats
path: root/loadparm.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-07-14 19:24:27 +0000
committerWayne Davison <wayned@samba.org>2007-07-14 19:24:27 +0000
commit4319cc56d87797c23943b401fb5bf33a5ed46989 (patch)
tree4b6374523dab718397b7e2e40403bd38883a9b7a /loadparm.c
parent952ae751384aebf39e36cb0fb8d7d894dccc901d (diff)
downloadandroid_external_rsync-4319cc56d87797c23943b401fb5bf33a5ed46989.tar.gz
android_external_rsync-4319cc56d87797c23943b401fb5bf33a5ed46989.tar.bz2
android_external_rsync-4319cc56d87797c23943b401fb5bf33a5ed46989.zip
Added more suffixes to the default "dont compress" value.
Diffstat (limited to 'loadparm.c')
-rw-r--r--loadparm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/loadparm.c b/loadparm.c
index b7974bcf..5cd8a8f5 100644
--- a/loadparm.c
+++ b/loadparm.c
@@ -60,6 +60,9 @@ typedef char pstring[1024];
#define LOG_DAEMON 0
#endif
+#define DEFAULT_DONT_COMPRESS "*.gz *.zip *.z *.rpm *.deb *.iso *.bz2" \
+ " *.t[gb]z *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg"
+
/* the following are used by loadparm for option lists */
typedef enum
{
@@ -169,7 +172,7 @@ static service sDefault =
{
/* auth_users; */ NULL,
/* comment; */ NULL,
- /* dont_compress; */ "*.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz",
+ /* dont_compress; */ DEFAULT_DONT_COMPRESS,
/* exclude; */ NULL,
/* exclude_from; */ NULL,
/* filter; */ NULL,