Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 4322:a789969fc198
[gaim-migrate @ 4577]
I decided that the callback for grab_url should return a length, too.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Fri, 17 Jan 2003 04:24:29 +0000 |
| parents | 32fcf4cf5f80 |
| children | cc2f780c0505 |
comparison
equal
deleted
inserted
replaced
| 4321:1cfad48b7d93 | 4322:a789969fc198 |
|---|---|
| 421 pos += sprintf(&rp[pos], "%02x", pass[x] ^ roast[x % strlen(roast)]); | 421 pos += sprintf(&rp[pos], "%02x", pass[x] ^ roast[x % strlen(roast)]); |
| 422 rp[pos] = '\0'; | 422 rp[pos] = '\0'; |
| 423 return rp; | 423 return rp; |
| 424 } | 424 } |
| 425 | 425 |
| 426 static void toc_got_info(gpointer data, char *url_text) | 426 static void toc_got_info(gpointer data, char *url_text, unsigned long len) |
| 427 { | 427 { |
| 428 if (!url_text) | 428 if (!url_text) |
| 429 return; | 429 return; |
| 430 | 430 |
| 431 g_show_info_text(NULL, NULL, 2, url_text, NULL); | 431 g_show_info_text(NULL, NULL, 2, url_text, NULL); |
