From 00e0dcaa7176b4eeacf64b361d474f44cff1a360 Mon Sep 17 00:00:00 2001 From: Unbit Date: Fri, 24 Oct 2014 12:01:31 +0200 Subject: [PATCH] ABI compatibility with 2.0 --- plugins/corerouter/cr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/corerouter/cr.h b/plugins/corerouter/cr.h index e2164879..2b19df3f 100644 --- a/plugins/corerouter/cr.h +++ b/plugins/corerouter/cr.h @@ -191,13 +191,14 @@ struct corerouter_peer { int current_timeout; + ssize_t (*flush)(struct corerouter_peer *); + int is_flushing; + // maps 1:1 with subscription proto char proto; int free_key; - ssize_t (*flush)(struct corerouter_peer *); - int is_flushing; }; struct uwsgi_corerouter {