Get rid of ", " at the start of some oper privs strings.
This commit is contained in:
parent
8e9623ab59
commit
f8a8d16e52
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ get_oper_privs(int flags)
|
|||
for(i = 0; oper_flagtable[i].flag; i++)
|
||||
if (flags & oper_flagtable[i].flag)
|
||||
{
|
||||
if(i)
|
||||
if(*buf != '\0')
|
||||
rb_strlcat(buf, ", ", sizeof(buf));
|
||||
|
||||
rb_strlcat(buf, oper_flagtable[i].name, sizeof(buf));
|
||||
|
|
Loading…
Reference in a new issue