From: Andrew M. <fit...@us...> - 2006-10-20 14:11:11
|
Update of /cvsroot/radmind/radmind-assistant/rsm In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12751 Modified Files: RAServerAuth.m Log Message: Fix: 1570432 Server Manager fails if Password not Provided. Set AuthorizationRef to NULL following a failure so subsequent AuthorizationCopyRights calls work. Index: RAServerAuth.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rsm/RAServerAuth.m,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** RAServerAuth.m 14 Dec 2005 03:41:11 -0000 1.14 --- RAServerAuth.m 20 Oct 2006 14:11:07 -0000 1.15 *************** *** 370,373 **** --- 370,374 ---- NSLog( @"AuthorizationCopyRights failed: error %d", (int)status ); AuthorizationFree( rsmAuthRef, kAuthorizationFlagDefaults ); + rsmAuthRef = NULL; return( -2 ); } |