1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Merge pull request #79 from pasis/dev

ignore SIGPIPE
This commit is contained in:
James Booth 2012-11-12 14:03:12 -08:00
commit b14aab4ade

View File

@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <glib.h>
@ -365,6 +366,8 @@ _process_input(char *inp)
static void
_init(const int disable_tls, char *log_level)
{
// ignore SIGPIPE
signal(SIGPIPE, SIG_IGN);
_create_config_directory();
log_level_t prof_log_level = _get_log_level(log_level);
log_init(prof_log_level);