Changeset dc9797f for irc.c


Ignore:
Timestamp:
2008-02-16T13:24:44Z (14 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
3064ea4
Parents:
27db433
Message:

keep track of which keys are queued for generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r27db433 rdc9797f  
    134134        conf_loaddefaults( irc );
    135135
    136         irc->otr_us = otrl_userstate_create();
    137         irc->otr_keygen = 0;
    138         irc->otr_to = NULL;
    139         irc->otr_from = NULL;
    140         irc->otr_ntodo = 0;
     136        irc->otr = otr_new();
    141137       
    142138        return( irc );
     
    290286        }
    291287       
    292         otrl_userstate_free(irc->otr_us);
    293         if(irc->otr_keygen) {
    294                 kill(irc->otr_keygen, SIGTERM);
    295                 waitpid(irc->otr_keygen, NULL, 0);
    296                 /* TODO: remove stale keygen tempfiles */
    297         }
     288        otr_free(irc->otr);
    298289       
    299290        g_free(irc);
Note: See TracChangeset for help on using the changeset viewer.