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
:Manual section: 3
:Author: Geoffrey Simmons
:Date: 2013-09-28
:Version: 0.1
:Version: 0.2
SYNOPSIS
========
......@@ -182,6 +182,8 @@ HISTORY
Version 0.1: Initial version
Version 0.2: various fixes, last version compatible with Varnish 3
LIMITATIONS
===========
......
AC_PREREQ(2.59)
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_SRCDIR(src/vmod_re.vcc)
AM_CONFIG_HEADER(config.h)
......
......@@ -157,11 +157,12 @@ get_ov(struct sess *sp, struct vmod_priv *priv_vcl, const int init)
* of varnish3)
*/
if ((ov->xid != sp->xid) || (ov->ws != sp->ws))
if ((ov->xid != sp->xid) || (ov->ws != sp->ws)) {
if (init == 0)
return NULL;
else
init_ov(ov, sp);
}
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