Avoid hardcoding the number of shared{} flags another time.

This commit is contained in:
Jilles Tjoelker 2008-09-09 18:42:59 +02:00
parent 90b9ef6c6d
commit 3c80e9d634
1 changed files with 1 additions and 1 deletions

View File

@ -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;