summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2014-05-06 11:48:31 -0600
committerPablo Neira Ayuso <pablo@netfilter.org>2014-05-07 15:42:53 +0200
commit42d6f393cee3b6fd5b69cd773962973ebb99452e (patch)
tree777e3a6aa09e48dd84ba5eff9b325659b0ea4ee1
parente8504f0b83a4d0501105259554d9cc23a6672435 (diff)
src: remove unnecessary end of line check
The EOF character alone should determine the end of input during restore operations. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/nfacct.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nfacct.c b/src/nfacct.c
index e1c405e..091a5c9 100644
--- a/src/nfacct.c
+++ b/src/nfacct.c
@@ -581,10 +581,6 @@ static int nfacct_cmd_restore(int argc, char *argv[])
return -1;
}
- /* a single ';' terminates the input */
- if (strncmp(buffer, ";", 1) == 0)
- break;
-
*semicolon = 0;
ret = flags = 0;
quota = 0;