# | Line 90 | Line 90 | network_stat_t *get_network_stats(int *entries){ | |
---|---|---|
90 | ||
91 | #ifdef LINUX | |
92 | FILE *f; | |
93 | < | /* Horrible big enough, but it should be quite easily */ |
93 | > | /* Horrible big enough, but it should be easily big enough */ |
94 | char line[8096]; | |
95 | regex_t regex; | |
96 | regmatch_t line_match[4]; | |
# | Line 183 | Line 183 | network_stat_t *get_network_stats(int *entries){ | |
183 | ||
184 | interfaces++; | |
185 | } | |
186 | + | fclose(f); |
187 | ||
188 | #endif | |
189 | *entries=interfaces; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |