src/oscar.c

changeset 1039
7dd4859bba95
parent 1038
850b893e1ac9
child 1051
d65ac9e2224f
--- a/src/oscar.c	Tue Oct 31 10:49:53 2000 +0000
+++ b/src/oscar.c	Tue Oct 31 19:34:57 2000 +0000
@@ -860,9 +860,9 @@
 			while (i < exchangecount) {
 				sprintf(debug_buff, "chat info: \t\t%x: %s (%s/%s)\n",
 						exchanges[i].number,
-						exchanges[i].name,
-						exchanges[i].charset1,
-						exchanges[i].lang1);
+						exchanges[i].name ? exchanges[i].name : "NULL",
+						exchanges[i].charset1 ? exchanges[i].charset1 : "NULL",
+						exchanges[i].lang1 ? exchanges[i].lang1 : "NULL");
 				debug_print(debug_buff);
 				i++;
 			}

mercurial