From 67e87fcf7078bb339e8ea1a81e9a12fa1c0687c8 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 6 Feb 2016 16:22:00 +0000 Subject: SRS: fix crash in queryprogram router when compiled with EXPERIMENTAL_SRS --- src/src/routers/queryprogram.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/src/routers/queryprogram.c b/src/src/routers/queryprogram.c index 138062e16..018e4c831 100644 --- a/src/src/routers/queryprogram.c +++ b/src/src/routers/queryprogram.c @@ -223,6 +223,10 @@ rc = rf_get_munge_headers(addr, rblock, &addr_prop.extra_headers, &addr_prop.remove_headers); if (rc != OK) return rc; +#ifdef EXPERIMENTAL_SRS +addr_prop.srs_sender = NULL; +#endif + /* Get the fixed or expanded uid under which the command is to run (initialization ensures that one or the other is set). */ -- cgit v1.2.3