From 3ebd89ac194279fb56d781d03a5368f4b0e76caa Mon Sep 17 00:00:00 2001 From: Andreas Bader Date: Tue, 19 Aug 2014 16:58:21 +0200 Subject: [PATCH 3/3] 0.9.1a: Bugfix: segfault when parsing --connect in config file. --- daemons/lircd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/lircd.c b/daemons/lircd.c index fa8cf17..7af4265 100644 --- a/daemons/lircd.c +++ b/daemons/lircd.c @@ -2311,7 +2311,7 @@ int main(int argc, char **argv) } opt = options_getstring("lircd:connect"); if (opt != NULL) { - if (!add_peer_connection(optarg)) + if (!add_peer_connection(opt)) return(EXIT_FAILURE); } # ifdef DEBUG -- 1.8.4.2