src/protocols/oscar/oscar.c

changeset 3186
3ccaa1c71fd0
parent 3159
15816c95c61c
child 3210
9f0e2d3d8a02
equal deleted inserted replaced
3185:6479176e9584 3186:3ccaa1c71fd0
2519 va_end(ap); 2519 va_end(ap);
2520 2520
2521 debug_printf("info%s: perms = %d, type = %x, length = %d, val = %s\n", 2521 debug_printf("info%s: perms = %d, type = %x, length = %d, val = %s\n",
2522 change ? " change" : "", perms, type, length, str ? val : "(not string)"); 2522 change ? " change" : "", perms, type, length, str ? val : "(not string)");
2523 2523
2524 if ((type == 0x0011) && str) { 2524 /* XXX Do something for other types too. */
2525 if ((type == 0x0011) && str && length) {
2525 g_snprintf(buf, sizeof(buf), "The email address for %s is %s", gc->username, val); 2526 g_snprintf(buf, sizeof(buf), "The email address for %s is %s", gc->username, val);
2526 do_error_dialog(buf, "Email"); 2527 do_error_dialog(buf, "Email");
2527 } 2528 }
2528 2529
2529 return 1; 2530 return 1;

mercurial