Changeset 1221ef0


Ignore:
Timestamp:
2008-02-16T15:28:08Z (17 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
903a2fc
Parents:
3064ea4
Message:

show keys being generated in 'otr info'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    r3064ea4 r1221ef0  
    14221422                        irc_usermsg(irc, "    %s", human);
    14231423        }
     1424        if(irc->otr->sent_accountname) {
     1425                irc_usermsg(irc, "  %s/%s - DSA", irc->otr->sent_accountname,
     1426                        irc->otr->sent_protocol);
     1427                irc_usermsg(irc, "    (being generated)");
     1428        }
    14241429        for(kg=irc->otr->todo; kg; kg=kg->next) {
    14251430                irc_usermsg(irc, "  %s/%s - DSA", kg->accountname, kg->protocol);
    1426                 irc_usermsg(irc, "    (being generated)");
    1427         }
    1428         if(key == irc->otr->us->privkey_root && kg == irc->otr->todo)
     1431                irc_usermsg(irc, "    (queued)");
     1432        }
     1433        if(key == irc->otr->us->privkey_root &&
     1434           !irc->otr->sent_accountname &&
     1435           kg == irc->otr->todo)
    14291436                irc_usermsg(irc, "  (none)");
    14301437
Note: See TracChangeset for help on using the changeset viewer.