Skip to content

Commit

Permalink
Fix missuse of a variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jun 28, 2017
1 parent bc8dc11 commit 3929c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdOuc/XrdOucN2No2p.cc
Expand Up @@ -230,7 +230,7 @@ XrdOucName2Name *XrdOucgetName2Name(XrdOucgetName2NameArgs)
return 0;
}
fnMax = strtol(val, &eP, 16);
if (n <= 0 || *eP)
if (fnMax <= 0 || *eP)
{eDest->Emsg("N2No2p", "Invalid -maxfnlen argument -",val);
return 0;
}
Expand Down

0 comments on commit 3929c95

Please sign in to comment.