- Timestamp:
- 2008-02-15T09:27:26Z (17 years ago)
- Branches:
- master
- Children:
- 27db433
- Parents:
- 6c91e6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r6c91e6e r522a00f 28 28 #include "crypting.h" 29 29 #include "ipc.h" 30 #include <sys/types.h> 31 #include <sys/wait.h> 30 32 31 33 static gboolean irc_userping( gpointer _irc, int fd, b_input_condition cond ); … … 133 135 134 136 irc->otr_us = otrl_userstate_create(); 135 g_static_rec_mutex_init(&irc->otr_mutex); 137 irc->otr_keygen = 0; 138 irc->otr_ntodo = 0; 136 139 137 140 return( irc ); … … 286 289 287 290 otrl_userstate_free(irc->otr_us); 288 g_static_rec_mutex_free(&irc->otr_mutex); 291 if(irc->otr_keygen) { 292 kill(irc->otr_keygen, SIGTERM); 293 waitpid(irc->otr_keygen, NULL, 0); 294 /* TODO: remove stale keygen tempfiles */ 295 } 289 296 290 297 g_free(irc);
Note: See TracChangeset
for help on using the changeset viewer.