aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-07-17 18:40:09 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-07-17 18:40:09 +0300
commit9115ff0a790cb5bf6eb748cef6733562f18e9d75 (patch)
treee2489c1fa219437015f49a994444475ae8cf1b76 /src
parent351364f283f3223f29090068069a127aef572cbf (diff)
downloadvmod-dbrw-9115ff0a790cb5bf6eb748cef6733562f18e9d75.tar.gz
vmod-dbrw-9115ff0a790cb5bf6eb748cef6733562f18e9d75.tar.bz2
Add the documentation.
* Makefile.am (SUBDIRS): Add doc. * configure.ac: Build doc/Makefile. * doc/Makefile.am: New file. * doc/vmod_dbrw.3: New file. * src/vmod_dbrw.c (vmod_rewrite): Minor change.
Diffstat (limited to 'src')
-rw-r--r--src/vmod_dbrw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmod_dbrw.c b/src/vmod_dbrw.c
index 2895ea5..56a4144 100644
--- a/src/vmod_dbrw.c
+++ b/src/vmod_dbrw.c
@@ -508,8 +508,8 @@ vmod_rewrite(struct sess *sp, struct vmod_priv *priv, const char *arg)
char *res;
debug(conf, 2, ("vmod_rewrite(%s) begin", arg));
- if (!conf) {
- debug(conf, 2, ("vmod_rewrite: no conf; exiting"));
+ if (!conf || !conf->query) {
+ debug(conf, 2, ("vmod_rewrite: not configured; exiting"));
return NULL;
}
cp = get_connection(conf);

Return to:

Send suggestions and report system problems to the System administrator.