Changes in storage.c [8e6ecfe:d628339]
Legend:
- Unmodified
- Added
- Removed
-
storage.c
r8e6ecfe rd628339 29 29 #include "bitlbee.h" 30 30 31 extern storage_t storage_text; 31 32 extern storage_t storage_xml; 32 33 33 34 static GList *storage_backends = NULL; 35 36 const struct prpl protocol_missing = { 37 .name = "_unknown", 38 }; 34 39 35 40 void register_storage_backend(storage_t *backend) … … 87 92 } 88 93 89 storage_status_t storage_check_pass( irc_t *irc,const char *nick, const char *password)94 storage_status_t storage_check_pass(const char *nick, const char *password) 90 95 { 91 96 GList *gl; … … 97 102 storage_status_t status; 98 103 99 status = st->check_pass( irc,nick, password);104 status = st->check_pass(nick, password); 100 105 if (status != STORAGE_NO_SUCH_USER) { 101 106 return status; … … 171 176 } 172 177 173 storage_status_t storage_remove(const char *nick )178 storage_status_t storage_remove(const char *nick, const char *password) 174 179 { 175 180 GList *gl; … … 185 190 storage_status_t status; 186 191 187 status = st->remove(nick );192 status = st->remove(nick, password); 188 193 ok |= status == STORAGE_OK; 189 194 if (status != STORAGE_NO_SUCH_USER && status != STORAGE_OK) {
Note: See TracChangeset
for help on using the changeset viewer.