You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
380 B
12 lines
380 B
--- daemons/lircd.c~ 2005-07-10 11:34:12.000000000 +0300
|
|
+++ daemons/lircd.c 2005-08-14 19:29:50.000000000 +0300
|
|
@@ -1974,7 +1974,7 @@
|
|
"no peers are specified\n",progname);
|
|
return(EXIT_FAILURE);
|
|
}
|
|
- if(strcmp(hw.device, lircdfile)==0)
|
|
+ if(hw.device != NULL && strcmp(hw.device, lircdfile)==0)
|
|
{
|
|
fprintf(stderr, "%s: refusing to connect to myself\n",
|
|
progname);
|