Get rid of ", " at the start of some oper privs strings.
This commit is contained in:
parent
1728a2acd0
commit
3e6a6891a1
|
@ -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 New Issue