Commit 346f683b366d0cea667aa722dff500e553735351

Authored by Elena.Budnik
1 parent 62ee0dc5

break when user is found in CheckTicket

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/SERVER/DD_Access_sr.c
@@ -266,6 +266,7 @@ int CheckTicket(char *NameUsr, char *Ticket) @@ -266,6 +266,7 @@ int CheckTicket(char *NameUsr, char *Ticket)
266 if(Verbose) fprintf(stderr,"for user %s permission denied.\n",NameUsr); 266 if(Verbose) fprintf(stderr,"for user %s permission denied.\n",NameUsr);
267 Right = NOPERMISSION; 267 Right = NOPERMISSION;
268 } 268 }
  269 + break;
269 } 270 }
270 } 271 }
271 nc_close(UsrRefID); 272 nc_close(UsrRefID);