Permalink
Browse files

Merge branch 'master' of /home/kyle/src/../git/ispolin

  • Loading branch information...
2 parents 162f7ac + 06fc5d7 commit 8eb2dc69ea1cd95fa7d1c852417ea073644ec510 @tm512 committed Mar 11, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/main.c
  2. +2 −0 src/modules/core/main.c
View
@@ -66,11 +66,13 @@ void parseargs (int argc, char **argv)
{
freopen ("/dev/null", "w", stdout);
freopen ("/dev/null", "w", stderr);
+ fclose (pidfile);
}
else
{
iprint ("Forked to background (pid: %i)", (int) pid);
fprintf (pidfile, "%i\n", (int) pid);
+ fclose (pidfile);
exit (0);
}
continue;
View
@@ -159,6 +159,8 @@ void corePrivmsg (ircclient_t *cl, char *nick, char *host, char *source, char *m
irc_privmsg (cl, source, uptime_out);
}
+ pclose (uptime_pipe);
+
return;
}

0 comments on commit 8eb2dc6

Please sign in to comment.