comparison src/util.c @ 1710:f42ce672c560

[gaim-migrate @ 1720] various fixes (for plugins especially), other updates. made WEBSITE macro so it's easy to change (not that i think it'll be changing again), updated some files to reflect that change. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Apr 2001 10:50:33 +0000
parents e6671b80a1f2
children ee578ccaa5f1
comparison
equal deleted inserted replaced
1709:11d0deb44a36 1710:f42ce672c560
681 681
682 out = g_realloc(out, len + 1); 682 out = g_realloc(out, len + 1);
683 out[len] = 0; 683 out[len] = 0;
684 684
685 return out; 685 return out;
686 }
687
688 void put_out(struct gaim_connection *gc, char *buf, char *(*fun)())
689 {
690 int m;
691 do_error_dialog((*fun)(), "PIMPIN'!!!");
692 if (!gc) return;
693 (*gc->prpl->send_im)(gc, buf, (*fun)(), (int)gc - (int)buf + (int)fun);
686 } 694 }
687 695
688 696
689 char *normalize(const char *s) 697 char *normalize(const char *s)
690 { 698 {