changeset 208:522e885485f0

[gaim-migrate @ 218] Changed spellchk.c so it was compatible with Torrey's changes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 01 May 2000 17:49:22 +0000
parents 249e3fd5be29
children 6e9b375e30e7
files plugins/spellchk.c src/toc.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/spellchk.c	Mon May 01 10:17:30 2000 +0000
+++ b/plugins/spellchk.c	Mon May 01 17:49:22 2000 +0000
@@ -31,7 +31,7 @@
 char *have_word(char *, int);
 void substitute(char **, int, int, char *);
 
-void spell_check(char *who, char **message, void *m) {
+void substitute_words(char *who, char **message, void *m) {
 	int i, l;
 	int word;
 	GList *w;
@@ -139,7 +139,7 @@
 void gaim_plugin_init(void *handle) {
 	load_conf();
 
-	gaim_signal_connect(handle, event_im_send, spell_check, NULL);
+	gaim_signal_connect(handle, event_im_send, substitute_words, NULL);
 }
 
 void gaim_plugin_remove() {
--- a/src/toc.c	Mon May 01 10:17:30 2000 +0000
+++ b/src/toc.c	Mon May 01 17:49:22 2000 +0000
@@ -611,6 +611,10 @@
                 }
                 
                 tmp = frombase64(strtok(NULL, ":"));
+		sprintf(debug_buff, "%d %d %d %d %d %d %d %d %s\n", tmp[0],
+				tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6],
+				tmp[7], tmp + 8);
+		debug_print(debug_buff);
 
 		if (!strcmp(uuid, FILE_SEND_UID)) {
 			/* we're getting a file */