rename the temporary string variable to `str'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15475 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -69,10 +69,10 @@ make_path(krb5_context context, struct tr_realm *r,
|
||||
struct tr_realm *tmp;
|
||||
|
||||
if(strlen(from) < strlen(to)){
|
||||
const char *tmp;
|
||||
tmp = from;
|
||||
const char *str;
|
||||
str = from;
|
||||
from = to;
|
||||
to = tmp;
|
||||
to = str;
|
||||
}
|
||||
|
||||
if(strcmp(from + strlen(from) - strlen(to), to) == 0){
|
||||
|
Reference in New Issue
Block a user