Commit 76e1a4d4 authored by Geoff Simmons's avatar Geoff Simmons

compile with -Werror, and bump version to v0.2 (last version for Varnish 3)

parent ccc2a125
...@@ -9,7 +9,7 @@ Varnish Module for Regular Expression Matching with Subexpression Capture ...@@ -9,7 +9,7 @@ Varnish Module for Regular Expression Matching with Subexpression Capture
:Manual section: 3 :Manual section: 3
:Author: Geoffrey Simmons :Author: Geoffrey Simmons
:Date: 2013-09-28 :Date: 2013-09-28
:Version: 0.1 :Version: 0.2
SYNOPSIS SYNOPSIS
======== ========
...@@ -182,6 +182,8 @@ HISTORY ...@@ -182,6 +182,8 @@ HISTORY
Version 0.1: Initial version Version 0.1: Initial version
Version 0.2: various fixes, last version compatible with Varnish 3
LIMITATIONS LIMITATIONS
=========== ===========
......
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung]) AC_COPYRIGHT([Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung])
AC_INIT([libvmod-header], [0.1]) AC_INIT([libvmod-re], [0.2])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/vmod_re.vcc) AC_CONFIG_SRCDIR(src/vmod_re.vcc)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
......
...@@ -157,11 +157,12 @@ get_ov(struct sess *sp, struct vmod_priv *priv_vcl, const int init) ...@@ -157,11 +157,12 @@ get_ov(struct sess *sp, struct vmod_priv *priv_vcl, const int init)
* of varnish3) * of varnish3)
*/ */
if ((ov->xid != sp->xid) || (ov->ws != sp->ws)) if ((ov->xid != sp->xid) || (ov->ws != sp->ws)) {
if (init == 0) if (init == 0)
return NULL; return NULL;
else else
init_ov(ov, sp); init_ov(ov, sp);
}
return (ov); return (ov);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment