blob: 71acd5264d6442386e44c6fbfa733b0b4d5b76ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- 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);
|