From 346f683b366d0cea667aa722dff500e553735351 Mon Sep 17 00:00:00 2001 From: Elena.Budnik Date: Fri, 16 Dec 2016 11:52:58 +0100 Subject: [PATCH] break when user is found in CheckTicket --- src/SERVER/DD_Access_sr.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/SERVER/DD_Access_sr.c b/src/SERVER/DD_Access_sr.c index 1ae7e5f..b3d6585 100644 --- a/src/SERVER/DD_Access_sr.c +++ b/src/SERVER/DD_Access_sr.c @@ -266,6 +266,7 @@ int CheckTicket(char *NameUsr, char *Ticket) if(Verbose) fprintf(stderr,"for user %s permission denied.\n",NameUsr); Right = NOPERMISSION; } + break; } } nc_close(UsrRefID); -- libgit2 0.21.2