(fix) rename sig handler

This commit is contained in:
Ludovic Marcotte
2016-04-04 08:35:19 -04:00
parent 7ce7d1194a
commit 51d1830dd2
+2 -2
View File
@@ -123,7 +123,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <openssl/x509.h>
#endif
void handle_terminate(int signum)
void handle_eas_terminate(int signum)
{
NSLog(@"Forcing termination of EAS loop.");
shouldTerminate = YES;
@@ -149,7 +149,7 @@ void handle_terminate(int signum)
syncRequest = nil;
shouldTerminate = NO;
signal(SIGTERM, handle_terminate);
signal(SIGTERM, handle_eas_terminate);
return self;
}