Mercurial > pidgin
comparison src/protocols/jabber/jabber.c @ 2773:a0fd8f91e294
[gaim-migrate @ 2786]
SPAM!!!
All recipients of the email generated by this commit each owe me $125 per email sent, plus a $75 handling fee for all messages combined.
Or was that supposed to be the other way around.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 20 Nov 2001 01:01:22 +0000 |
parents | e9e624d8803e |
children | 8f6365332a05 |
comparison
equal
deleted
inserted
replaced
2772:f9227268db25 | 2773:a0fd8f91e294 |
---|---|
924 gjab_send(j, x); | 924 gjab_send(j, x); |
925 xmlnode_free(x); | 925 xmlnode_free(x); |
926 } | 926 } |
927 | 927 |
928 static void jabber_handlevcard(gjconn j, xmlnode querynode, char *from) { | 928 static void jabber_handlevcard(gjconn j, xmlnode querynode, char *from) { |
929 struct gaim_connection *gc = GJ_GC(j); | |
929 char buf[1024]; | 930 char buf[1024]; |
930 char *fn, *url, *email, *nickname, *status, *desc; | 931 char *fn, *url, *email, *nickname, *status, *desc; |
931 jid who; | 932 jid who; |
932 char *buddy; | 933 char *buddy; |
933 struct jabber_data *jd = GJ_GC(j)->proto_data; | 934 struct jabber_data *jd = GJ_GC(j)->proto_data; |
958 "<B>Email:</B> <A HREF=\"mailto:%s\">%s</A><BR>", email, email); | 959 "<B>Email:</B> <A HREF=\"mailto:%s\">%s</A><BR>", email, email); |
959 at += g_snprintf(buf + at, sizeof(buf) - at, "<B>Status:</B> %s\n", status); | 960 at += g_snprintf(buf + at, sizeof(buf) - at, "<B>Status:</B> %s\n", status); |
960 if (desc) | 961 if (desc) |
961 at += g_snprintf(buf + at, sizeof(buf) - at, "<HR>%s<br>\n", desc); | 962 at += g_snprintf(buf + at, sizeof(buf) - at, "<HR>%s<br>\n", desc); |
962 | 963 |
963 g_show_info_text(buf, NULL); | 964 g_show_info_text(gc, buddy, FALSE, buf, NULL); |
964 g_free(buddy); | 965 g_free(buddy); |
965 } | 966 } |
966 | 967 |
967 static void jabber_handleauthresp(gjconn j, jpacket p) | 968 static void jabber_handleauthresp(gjconn j, jpacket p) |
968 { | 969 { |