Skip to content

Commit

Permalink
[XrdSecgsi] Change comment style for getOptVal alt impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 10, 2020
1 parent 6caf461 commit 3173d01
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions src/XrdSecgsi/XrdSecgsiOpts.hh
Expand Up @@ -212,25 +212,26 @@ int getOptVal(OptsTab &oTab, const char *oVal)
}

/******************************************************************************/

//int getOptVal(OptsTab &oTab1, OptsTab &oTab2, char *oVal)
//{
//// Check if this is a two-factor option
////
// char *comma = index(oVal, ',');
// if (comma) *comma = 0;
/*
int getOptVal(OptsTab &oTab1, OptsTab &oTab2, char *oVal)
{
// Check if this is a two-factor option
//
//// Handle the first part
////
// int flag = getOptVal(oTab1, oVal);
char *comma = index(oVal, ',');
if (comma) *comma = 0;
// Handle the first part
//
//// Get the second part
////
// if (comma)
// {flag += getOptVal(oTab2, comma+1);
// *comma = ',';
// }
// return flag;
//}
int flag = getOptVal(oTab1, oVal);
// Get the second part
//
if (comma)
{flag += getOptVal(oTab2, comma+1);
*comma = ',';
}
return flag;
}
*/
}
#endif

0 comments on commit 3173d01

Please sign in to comment.