Changeset c2295f7 for crypting.c


Ignore:
Timestamp:
2005-12-08T14:51:06Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
8efa2f4, 9df916f
Parents:
1eddf6b
Message:

Move some crypting-unrelated code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • crypting.c

    r1eddf6b rc2295f7  
    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       
     
    8074                irc->password = NULL;
    8175        }
    82 }
    83 
    84 char *passchange (irc_t *irc, void *set, const char *value) {
    85         setpassnc (irc, value);
    86         return (NULL);
    8776}
    8877
Note: See TracChangeset for help on using the changeset viewer.