minor fix over previous commit
Monotone-Parent: c395dc55e24320e5a7a74fe51cd8a5b61e1c8f68 Monotone-Revision: fbae6d1883c541db7a57fdf725e970f6cc80c44f Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-06-29T18:42:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
dd3704d265
commit
710b51581b
|
@ -169,20 +169,27 @@ typedef enum
|
||||||
authpwd = @"";
|
authpwd = @"";
|
||||||
value = @"";
|
value = @"";
|
||||||
|
|
||||||
if (max > 4)
|
if (max > 5)
|
||||||
{
|
{
|
||||||
r = [[arguments objectAtIndex: 3] rangeOfString: @":"];
|
r = [[arguments objectAtIndex: 3] rangeOfString: @":"];
|
||||||
authname = [[arguments objectAtIndex: 3] substringToIndex: r.location];
|
authname = [[arguments objectAtIndex: 3] substringToIndex: r.location];
|
||||||
authpwd = [[arguments objectAtIndex: 3] substringFromIndex: r.location+1];
|
authpwd = [[arguments objectAtIndex: 3] substringFromIndex: r.location+1];
|
||||||
key = [arguments objectAtIndex: 4];
|
key = [arguments objectAtIndex: 4];
|
||||||
|
|
||||||
if (max > 5)
|
if (max > 6)
|
||||||
value = [arguments objectAtIndex: 5];
|
value = [arguments objectAtIndex: 5];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
key = [arguments objectAtIndex: 3];
|
if (cmd == UserPreferencesUnset)
|
||||||
value = [arguments objectAtIndex: 4];
|
{
|
||||||
|
key = [arguments objectAtIndex: 3];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
key = [arguments objectAtIndex: 3];
|
||||||
|
value = [arguments objectAtIndex: 4];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd == UserPreferencesUnset)
|
if (cmd == UserPreferencesUnset)
|
||||||
|
|
Loading…
Reference in a new issue