search for: 8c999f6

Displaying 2 results from an estimated 2 matches for "8c999f6".

2013 Sep 03
1
[PATCH v2] tftp-hpa: add error check for disk filled up
...Signed-off-by: Ming Liu <ming.liu at windriver.com> Signed-off-by: Roy.Li <rongqing.li at windriver.com> --- common/tftpsubs.c | 4 +++- tftpd/tftpd.c | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 8c999f6..172776c 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -215,7 +215,9 @@ int write_behind(FILE * file, int convert) goto skipit; /* just skip over the putc */ /* else just fall through and allow it */ } - putc(c, file); + if (putc(c...
2013 Aug 22
2
[PATCH] tftp-hpa: add error check for disk filled up
...ed-off-by: Ming Liu <ming.liu at windriver.com> Signed-off-by: Roy.Li <rongqing.li at windriver.com> --- common/tftpsubs.c | 8 +++++--- tftpd/tftpd.c | 12 ++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/common/tftpsubs.c b/common/tftpsubs.c index 8c999f6..b4d4ffe 100644 --- a/common/tftpsubs.c +++ b/common/tftpsubs.c @@ -206,20 +206,22 @@ int write_behind(FILE * file, int convert) p = buf; ct = count; + count = 0; while (ct--) { /* loop over the buffer */ c = *p++; /* pick up a character */...