# HG changeset patch # User Ethan Blanton # Date 1082406656 0 # Node ID a4ff6e79c5fce7068356463c34eec35bf3334247 # Parent 05ed6143ec763d972e13b970bbbb00bcdd7bcbc5 [gaim-migrate @ 9466] Zephyr is some funky mojo. This fixes https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121256 At least, it isn't any worse than what we had before and it is more predictable. As to whether there's a bug ... your guess is as good as mine. committer: Tailor Script diff -r 05ed6143ec76 -r a4ff6e79c5fc src/protocols/zephyr/zephyr.c --- a/src/protocols/zephyr/zephyr.c Mon Apr 19 15:04:12 2004 +0000 +++ b/src/protocols/zephyr/zephyr.c Mon Apr 19 20:30:56 2004 +0000 @@ -1038,8 +1038,17 @@ gconv1 = gaim_find_conversation_with_account(zt->name, zgc->account); gcc = gaim_conversation_get_chat_data(gconv1); + /* This patently does not make sense ... if inst is not set by + * gaim_conv_chat_get_topic, we set it to the uninitialized + * value of notice.z_class_inst, only to set notice.z_class_inst + * back to inst in a half a dozen lines. I'm just going to let + * it remain NULL instead. + * if (!(inst = (char *)gaim_conv_chat_get_topic(gcc))) inst = (char *)notice.z_class_inst; + */ + inst = (char *)gaim_conv_chat_get_topic(gcc); + /* There, now isn't that better? */ bzero((char *)¬ice, sizeof(notice)); notice.z_kind = ACKED;