[gaim-migrate @ 218]

Mon, 01 May 2000 17:49:22 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Mon, 01 May 2000 17:49:22 +0000
changeset 208
7fd6e9df3e45
parent 207
6b6f069f5e21
child 209
d1c1a8037720

[gaim-migrate @ 218]
Changed spellchk.c so it was compatible with Torrey's changes.

plugins/spellchk.c file | annotate | diff | comparison | revisions
src/toc.c file | annotate | diff | comparison | revisions
--- 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 */

mercurial