expire-autoreply: style fixes

pull/7/head
Jean Raby 2013-01-14 16:57:17 -05:00
parent ea904f2e05
commit 55ccd0e83f
1 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@
profileURL = [sd profileURL];
if (!profileURL)
{
NSLog(@"No profileURL");
NSLog(@"Couldn't obtain the profileURL. (Hint: SOGoProfileURL)");
}
else
{
@ -198,7 +198,7 @@
creds = [NSString stringWithContentsOfFile: credsFile
encoding: NSUTF8StringEncoding
error: &err];
if (creds == nil)
if (!creds)
{
NSLog(@"Error reading credential file '%@': %@", credsFile, err);
}
@ -212,7 +212,7 @@
creds = [sanitizedArguments objectAtIndex: 0];
}
if (creds != nil)
if (creds)
{
r = [creds rangeOfString: @":"];
if (r.location == NSNotFound)
@ -226,7 +226,7 @@
}
}
if (authname != nil && authpwd != nil)
if (authname && authpwd)
{
[self expireAutoReplyWithUsername: authname andPassword: authpwd];
rc = YES;