diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-18 17:49:03 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-18 17:49:03 +0300 |
commit | 1a11eccc579d75f4db62fce3e2ab8b709c60da51 (patch) | |
tree | 1cd21c9cfadb9187fb4c686e0f3c81e0765022a3 /src | |
parent | f8804331ac83e7db86ec1212d1849de02a091cf2 (diff) | |
download | vmod-binlog-1a11eccc579d75f4db62fce3e2ab8b709c60da51.tar.gz vmod-binlog-1a11eccc579d75f4db62fce3e2ab8b709c60da51.tar.bz2 |
Bugfix
* src/binlog.c (vmod_init): Set umask from init parameters.
Diffstat (limited to 'src')
-rw-r--r-- | src/binlog.c | 1 |
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; |