remove extra curly brace in tomato_load()
fixes #195 which was introduced in 6532b02cab
This commit is contained in:
parent
1337158fcf
commit
9a5eaaa767
|
@ -182,7 +182,7 @@ tomato_load(void)
|
|||
current_time = time(NULL);
|
||||
s[sizeof(s) - 1] = 0;
|
||||
while (fgets(s, sizeof(s) - 1, f)) {
|
||||
if (sscanf(s, "%3s %hu %31s %hu [%*[^]]] %u", proto, &eport, iaddr, &iport, ×tamp) >= 4) {
|
||||
if (sscanf(s, "%3s %hu %31s %hu [%*[^]]] %u", proto, &eport, iaddr, &iport, ×tamp) >= 4)
|
||||
{
|
||||
if (((a = strchr(s, '[')) != NULL) && ((b = strrchr(a, ']')) != NULL))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue