comparison src/util.c @ 1269:677e2c9e8baf

[gaim-migrate @ 1279] got rid of printf's (changed to g_print or removed), and in irc.c, made it so we can be in a chat room, and don't do the buddy list right away committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 14 Dec 2000 13:32:10 +0000
parents 9da444224f0e
children cb84b5c6d9ab
comparison
equal deleted inserted replaced
1268:48cc2d81ddbb 1269:677e2c9e8baf
1151 int retval = -1; 1151 int retval = -1;
1152 1152
1153 if (name !=NULL) { /* list of names given */ 1153 if (name !=NULL) { /* list of names given */
1154 names = g_strsplit(name, ",", 32); 1154 names = g_strsplit(name, ",", 32);
1155 for (n = names; *n != NULL; n++) { 1155 for (n = names; *n != NULL; n++) {
1156 printf("user %s...\n", *n);
1157 u = find_user(*n, -1); 1156 u = find_user(*n, -1);
1158 if (u) { /* found a user */ 1157 if (u) { /* found a user */
1159 if (first == NULL) 1158 if (first == NULL)
1160 first = g_strdup(*n); 1159 first = g_strdup(*n);
1161 if (u->options & OPT_USR_REM_PASS) { 1160 if (u->options & OPT_USR_REM_PASS) {
1162 printf("got user %s\n", *n);
1163 retval = 0; 1161 retval = 0;
1164 serv_login(u); 1162 serv_login(u);
1165 } 1163 }
1166 } 1164 }
1167 } 1165 }