Changeset devel,71 for devel/crypting.c

Show
Ignore:
Timestamp:
2005-12-08T14:51:06Z (5 years ago)
Author:
Jelmer Vernooij <jelmer@…>
branch-nick:
integration
revision id:
jelmer@samba.org-20051208145106-38dc18e64f8fb57d
Message:

Move some crypting-unrelated code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • devel/crypting.c

    r70 r71  
    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