diff --git a/src/WINNT/afsd/afskfw.c b/src/WINNT/afsd/afskfw.c index 1a93711898..ea0596650d 100644 --- a/src/WINNT/afsd/afskfw.c +++ b/src/WINNT/afsd/afskfw.c @@ -1210,15 +1210,15 @@ KFW_AFS_get_cred( char * username, if ( code ) goto cleanup; KFW_AFS_update_princ_ccache_data(context, cc, FALSE); - } - code = KFW_AFS_klog(context, cc, "afs", cell, realm, lifetime, smbname); - if ( IsDebuggerPresent() ) { - char message[256]; - StringCbPrintf(message, sizeof(message), "KFW_AFS_klog() returns: %d\n", code); - OutputDebugString(message); + code = KFW_AFS_klog(context, cc, "afs", cell, realm, lifetime, smbname); + if ( IsDebuggerPresent() ) { + char message[256]; + StringCbPrintf(message, sizeof(message), "KFW_AFS_klog() returns: %d\n", code); + OutputDebugString(message); + } + if ( code ) goto cleanup; } - if ( code ) goto cleanup; KFW_AFS_update_cell_princ_map(context, cell, pname, TRUE);