Avoid hardcoding the number of shared{} flags another time.
This commit is contained in:
parent
7d91f0da00
commit
591342826a
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ stats_shared (struct Client *source_p)
|
||||||
{
|
{
|
||||||
struct remote_conf *shared_p;
|
struct remote_conf *shared_p;
|
||||||
rb_dlink_node *ptr;
|
rb_dlink_node *ptr;
|
||||||
char buf[15];
|
char buf[sizeof(shared_flagtable)/sizeof(shared_flagtable[0])];
|
||||||
char *p;
|
char *p;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue