Changeset 88086db
- Timestamp:
- 2006-06-25T17:23:27Z (19 years ago)
- Branches:
- master
- Children:
- 6ee9d2d
- Parents:
- 6e1fed7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r6e1fed7 r88086db 33 33 GSList *irc_connection_list = NULL; 34 34 35 static char *passchange (irc_t *irc, void *set, char *value) 36 { 37 irc_setpass (irc, value); 38 return (NULL); 35 static char *passchange( irc_t *irc, void *set, char *value ) 36 { 37 irc_setpass( irc, value ); 38 irc_usermsg( irc, "Password successfully changed" ); 39 return NULL; 39 40 } 40 41 -
lib/rc4.c
r6e1fed7 r88086db 158 158 clear_len = crypt_len - RC4_IV_LEN; 159 159 160 if( clear_len < 0 ) 161 { 162 *clear = g_strdup( "" ); 163 return 0; 164 } 165 160 166 /* Prepare buffers and the key + IV */ 161 167 *clear = g_malloc( clear_len + 1 ); -
storage_xml.c
r6e1fed7 r88086db 40 40 BitlBee would be a better solution. But this will work for now... */ 41 41 #define XML_PASS_ERRORMSG "Wrong username or password" 42 #define XML_FORMAT_VERSION 1 42 43 43 44 struct xml_parsedata … … 410 411 pass_buf = base64_encode( (char*) pass_md5, 21 ); 411 412 412 if( !xml_printf( fd, "<user nick=\"%s\" password=\"%s\" >\n", irc->nick, pass_buf) )413 if( !xml_printf( fd, "<user nick=\"%s\" password=\"%s\" version=\"%d\">\n", irc->nick, pass_buf, XML_FORMAT_VERSION ) ) 413 414 goto write_error; 414 415
Note: See TracChangeset
for help on using the changeset viewer.