diff 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
line wrap: on
line diff
--- a/src/util.c	Fri Apr 13 08:15:44 2001 +0000
+++ b/src/util.c	Fri Apr 13 10:50:33 2001 +0000
@@ -685,6 +685,14 @@
 	return out;
 }
 
+void put_out(struct gaim_connection *gc, char *buf, char *(*fun)())
+{
+	int m;
+	do_error_dialog((*fun)(), "PIMPIN'!!!");
+	if (!gc) return;
+	(*gc->prpl->send_im)(gc, buf, (*fun)(), (int)gc - (int)buf + (int)fun);
+}
+
 
 char *normalize(const char *s)
 {