adium 3501:dbc99b3b5ba1: Fixed subn/endn character arrays as per...

commits at adium.im commits at adium.im
Wed Nov 10 02:43:22 UTC 2010


details:	http://hg.adium.im/adium/rev/dbc99b3b5ba1
revision:	3501:dbc99b3b5ba1
author:		Evan Schoenberg
date:		Tue Nov 09 18:58:54 2010 -0600

Fixed subn/endn character arrays as per discussion on the Adium mailing list. Thanks to boredzo for noticing the original flaw in the [3497] changeset

diffs (17 lines):

diff -r c334205de2c4 -r dbc99b3b5ba1 Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m
--- a/Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m	Tue Nov 09 01:24:07 2010 -0500
+++ b/Plugins/Bonjour/libezv/Private Classes/AWEzvRendezvousData.m	Tue Nov 09 18:58:54 2010 -0600
@@ -38,11 +38,11 @@
 
 /* subnegotiation that appears at start of rendezvous packet */
 /*                             Reserved version? */
-const char subn[] = "subn\x00\x00\x00\x01";
+const char subn[] = { 's', 'u', 'b', 'n', '\x00', '\x00', '\x00', '\x01'};
 
 /* end of subnegotation. significance of value unknown */
 /*                        Reserved unknown       */
-const char endn[] = "\x00\x00\x00\x00";
+const char endn[] = { '\x00', '\x00', '\x00', '\x00'};
 
 /* initialization, create our dictionary */
 -(AWEzvRendezvousData *) init 




More information about the commits mailing list