svn rev #20085: trunk/src/lib/krb5/ccache/

lxs@MIT.EDU lxs at MIT.EDU
Wed Oct 3 16:13:55 EDT 2007


Commit By: lxs
Log Message: 
ticket: new
subject: Removed NOP line of code from krb5_fcc_next_cred()

cursor = (krb5_cc_cursor *) fcursor; 

does nothing for a function with a prototype

krb5_fcc_next_cred(krb5_context context, krb5_ccache id, 
	krb5_cc_cursor *cursor, krb5_creds *creds)

The correct line of code would be:

*cursor = (krb5_cc_cursor) fcursor;

Except it isn't necessary because fcursor isn't modified
by krb5_fcc_next_cred().  Looks like code was copied from
krb5_fcc_start_seq_get() and since the line was a NOP
no one noticed it.



Changed Files:
U   trunk/src/lib/krb5/ccache/cc_file.c



More information about the cvs-krb5 mailing list