Changeset c595308 for irc.c


Ignore:
Timestamp:
2008-02-11T21:20:35Z (16 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
8bd697c
Parents:
d6fdf44
Message:
  • use a recursive otr_mutex
  • implement 'otr forget fingerprint' and 'otr forget context' commands
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    rd6fdf44 rc595308  
    131131
    132132        irc->otr_us = otrl_userstate_create();
    133         irc->otr_mutex = g_mutex_new();
     133        g_static_rec_mutex_init(&irc->otr_mutex);
    134134       
    135135        return( irc );
     
    284284       
    285285        otrl_userstate_free(irc->otr_us);
    286         g_mutex_free(irc->otr_mutex);
     286        g_static_rec_mutex_free(&irc->otr_mutex);
    287287       
    288288        g_free(irc);
Note: See TracChangeset for help on using the changeset viewer.