From 8dec78333362750831118d97c2a51dcb0189f149 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 17 Nov 2005 04:13:01 +0000 Subject: [PATCH] comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.c b/src/utils.c index 064d97b9..6c96f793 100644 --- a/src/utils.c +++ b/src/utils.c @@ -212,7 +212,7 @@ ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream) *n += MAX_BUF_SIZE; } - /* Push the result in the line. */ + /* Put the result in the line. */ (*lineptr)[indx++] = (char)c; /* Bail out. */ @@ -230,8 +230,8 @@ ssize_t ngetdelim(char **lineptr, size_t *n, int delim, FILE *stream) null_at(lineptr, indx++); *n = indx; - /* The last line may not have the delimiter, we have to return what - * we got and the error will be seen on the next iteration. */ + /* The last line may not have the delimiter. We have to return what + * we got, and the error will be seen on the next iteration. */ return (c == EOF && (indx - 1) == 0) ? -1 : indx - 1; } #endif -- 2.39.5