Avoid hardcoding the number of shared{} flags another time.
This commit is contained in:
parent
90b9ef6c6d
commit
3c80e9d634
|
@ -961,7 +961,7 @@ stats_shared (struct Client *source_p)
|
|||
{
|
||||
struct remote_conf *shared_p;
|
||||
rb_dlink_node *ptr;
|
||||
char buf[15];
|
||||
char buf[sizeof(shared_flagtable)/sizeof(shared_flagtable[0])];
|
||||
char *p;
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue