* [PATCH] nfacct: remove unecessary end of line check
@ 2014-05-06 17:48 mathieu.poirier
2014-05-07 13:44 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: mathieu.poirier @ 2014-05-06 17:48 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel, netfilter, john.stultz, mathieu.poirier
From: Mathieu Poirier <mathieu.poirier@linaro.org>
The EOF character alone should determine the end of input during
restore operations.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
src/nfacct.c | 4 ----
1 file changed, 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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfacct: remove unecessary end of line check
2014-05-06 17:48 [PATCH] nfacct: remove unecessary end of line check mathieu.poirier
@ 2014-05-07 13:44 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2014-05-07 13:44 UTC (permalink / raw)
To: mathieu.poirier; +Cc: netfilter-devel, john.stultz
On Tue, May 06, 2014 at 11:48:31AM -0600, mathieu.poirier@linaro.org wrote:
> From: Mathieu Poirier <mathieu.poirier@linaro.org>
>
> The EOF character alone should determine the end of input during
> restore operations.
Applied, thanks.
P.S: CC netfilter-devel@ is just fine, netfilter@ is for user
questions.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-07 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 17:48 [PATCH] nfacct: remove unecessary end of line check mathieu.poirier
2014-05-07 13:44 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).