Added resources pointer to service

Added resources pointer to service
This commit is contained in:
MassimilianoPinto
2014-10-13 18:18:30 +02:00
parent b15ebfe14a
commit d645088645
2 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ SERVICE *service;
service->filters = NULL;
service->n_filters = 0;
service->weightby = 0;
service->resources = NULL;
spinlock_init(&service->spin);
spinlock_init(&service->users_table_spin);
memset(&service->rate_limit, 0, sizeof(SERVICE_REFRESH_RATE));