ObjXMPP  Diff

Differences From Artifact [ea90fec7bf]:

To Artifact [9b4707618f]:


45
46
47
48
49
50
51
52
53


54
55
56
57
58
59
60


61
62
63
64
65
66
67


68
69
70
71
45
46
47
48
49
50
51


52
53
54
55
56
57
58


59
60
61
62
63
64
65


66
67
68
69
70
71







-
-
+
+





-
-
+
+





-
-
+
+




}

- (OFDataArray*)initialMessage
{
	OFDataArray *message = [OFDataArray dataArray];

	/* authzid */
	if (authzid)
		[message addItem: authzid];
	if (_authzid)
		[message addItem: _authzid];

	/* separator */
	[message addItem: ""];

	/* authcid */
	[message addItems: [authcid UTF8String]
		    count: [authcid UTF8StringLength]];
	[message addItems: [_authcid UTF8String]
		    count: [_authcid UTF8StringLength]];

	/* separator */
	[message addItem: ""];

	/* passwd */
	[message addItems: [password UTF8String]
		    count: [password UTF8StringLength]];
	[message addItems: [_password UTF8String]
		    count: [_password UTF8StringLength]];

	return message;
}
@end