summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-18 14:49:03 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-18 14:49:03 (GMT)
commit1a11eccc579d75f4db62fce3e2ab8b709c60da51 (patch) (side-by-side diff)
tree1cd21c9cfadb9187fb4c686e0f3c81e0765022a3 /src
parentf8804331ac83e7db86ec1212d1849de02a091cf2 (diff)
downloadvmod-binlog-1a11eccc579d75f4db62fce3e2ab8b709c60da51.tar.gz
vmod-binlog-1a11eccc579d75f4db62fce3e2ab8b709c60da51.tar.bz2
Bugfix
* src/binlog.c (vmod_init): Set umask from init parameters.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/binlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binlog.c b/src/binlog.c
index 57e2aa0..bf7fa97 100644
--- a/src/binlog.c
+++ b/src/binlog.c
@@ -343,6 +343,7 @@ vmod_init(struct sess *sp, struct vmod_priv *priv,
binlog_error("invalid umask (near \"%s\")", q);
abort();
}
+ conf->umask = n;
} else
conf->umask = BINLOG_UMASK;

Return to:

Send suggestions and report system problems to the System administrator.