freebsd-ports/comms/echolinux/files/patch-echogui_threadFuncs.c
Diane Bruce f34877a202 - Renamed bogus patch names
- Make build under clang11
- Fixed bogus /etc dir reference
- pet portlint
2020-08-24 14:53:12 +00:00

18 lines
415 B
C

--- echogui/threadFuncs.c.orig 2004-02-03 02:28:03 UTC
+++ echogui/threadFuncs.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <pthread.h>
#include <signal.h>
@@ -47,7 +48,7 @@ void destroyApp(void){
void sigHandler(int sig){
// puts("In signal handler");
- if(sig = SIGINT){
+ if(sig == SIGINT){
// puts("It is a SIGINT");
destroyApp();
exit(0);