diff options
Diffstat (limited to 'src/plugins/stats/functions.c')
-rw-r--r-- | src/plugins/stats/functions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/stats/functions.c b/src/plugins/stats/functions.c index 99d61239..b54780df 100644 --- a/src/plugins/stats/functions.c +++ b/src/plugins/stats/functions.c | |||
@@ -161,7 +161,7 @@ static int getTrafficRecvStats(const void * closure, | |||
161 | SNPRINTF(buffer, | 161 | SNPRINTF(buffer, |
162 | 512, | 162 | 512, |
163 | "# bytes received of type %d", | 163 | "# bytes received of type %d", |
164 | GAP_p2p_PROTO_RESULT); | 164 | P2P_PROTO_gap_RESULT); |
165 | if (OK != getStatValue(&content, | 165 | if (OK != getStatValue(&content, |
166 | &lcontent, | 166 | &lcontent, |
167 | NULL, | 167 | NULL, |
@@ -173,7 +173,7 @@ static int getTrafficRecvStats(const void * closure, | |||
173 | SNPRINTF(buffer, | 173 | SNPRINTF(buffer, |
174 | 512, | 174 | 512, |
175 | "# bytes received of type %d", | 175 | "# bytes received of type %d", |
176 | GAP_p2p_PROTO_QUERY); | 176 | P2P_PROTO_gap_QUERY); |
177 | if (OK != getStatValue(&queries, | 177 | if (OK != getStatValue(&queries, |
178 | &lqueries, | 178 | &lqueries, |
179 | NULL, | 179 | NULL, |
@@ -237,7 +237,7 @@ static int getTrafficSendStats(const void * closure, | |||
237 | SNPRINTF(buffer, | 237 | SNPRINTF(buffer, |
238 | 512, | 238 | 512, |
239 | "# bytes transmitted of type %d", | 239 | "# bytes transmitted of type %d", |
240 | GAP_p2p_PROTO_RESULT); | 240 | P2P_PROTO_gap_RESULT); |
241 | if (OK != getStatValue(&content, | 241 | if (OK != getStatValue(&content, |
242 | &lcontent, | 242 | &lcontent, |
243 | NULL, | 243 | NULL, |
@@ -249,7 +249,7 @@ static int getTrafficSendStats(const void * closure, | |||
249 | SNPRINTF(buffer, | 249 | SNPRINTF(buffer, |
250 | 512, | 250 | 512, |
251 | "# bytes received of type %d", | 251 | "# bytes received of type %d", |
252 | GAP_p2p_PROTO_QUERY); | 252 | P2P_PROTO_gap_QUERY); |
253 | if (OK == getStatValue(&queries, | 253 | if (OK == getStatValue(&queries, |
254 | &lqueries, | 254 | &lqueries, |
255 | NULL, | 255 | NULL, |