Update + fixes OBS-URL: https://build.opensuse.org/request/show/250565 OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=42
27 lines
705 B
Diff
27 lines
705 B
Diff
From 3ebd89ac194279fb56d781d03a5368f4b0e76caa Mon Sep 17 00:00:00 2001
|
|
From: Andreas Bader <andreasbader at badersystems.de>
|
|
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
|
|
|