Changeset 8efa2f4 for crypting.c


Ignore:
Timestamp:
2005-12-08T14:57:13Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
09adf08
Parents:
7989fcf3 (diff), c2295f7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge some fixes from my integration branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • crypting.c

    r7989fcf3 r8efa2f4  
    4646} irc_t;
    4747
    48 #define set_add( a, b, c, d )
    49 #define set_find( a, b ) NULL
    50 
    5148#include "md5.h"
    5249#include "crypting.h"
     
    6966void setpassnc (irc_t *irc, const char *pass)
    7067{
    71         if (!set_find (irc, "password"))
    72                 set_add (irc, "password", NULL, passchange);
    73        
    7468        if (irc->password) g_free (irc->password);
    7569       
     
    8276}
    8377
    84 char *passchange (irc_t *irc, void *set, char *value) {
    85         setpassnc (irc, value);
    86         return (NULL);
    87 }
    88 
    89 int setpass (irc_t *irc, const char *pass, char* md5sum) {
     78int setpass (irc_t *irc, const char *pass, const char* md5sum)
     79{
    9080        md5_state_t md5state;
    9181        md5_byte_t digest[16];
Note: See TracChangeset for help on using the changeset viewer.