summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-01-18 18:42:36 +0200
committerSergey Poznyakoff <gray@gnu.org>2018-01-18 18:43:35 +0200
commitff37d4b566f71796cb75cba37e2db47ff22cdf11 (patch)
tree522b684cf6edd767c4c662b475bc867eca006619
parent1ede6d005f335bce0849a7f68b2f268264f1017f (diff)
downloadmailutils-ff37d4b566f71796cb75cba37e2db47ff22cdf11.tar.gz
mailutils-ff37d4b566f71796cb75cba37e2db47ff22cdf11.tar.bz2
Minor fixes.
* doc/texinfo/mailutils.texi: Fix typos in the imap URL example. * libmailutils/locus/linetrack.c: Re-word the comment. * mimeview/grammar.y: Remove unnecessary assignment.
-rw-r--r--doc/texinfo/mailutils.texi2
-rw-r--r--libmailutils/locus/linetrack.c10
-rw-r--r--mimeview/grammar.y1
3 files changed, 6 insertions, 7 deletions
diff --git a/doc/texinfo/mailutils.texi b/doc/texinfo/mailutils.texi
index b2c6030fe..fc9a7512d 100644
--- a/doc/texinfo/mailutils.texi
+++ b/doc/texinfo/mailutils.texi
@@ -705,7 +705,7 @@ Protocol}. Default port number is 143.
The URL is:
@example
-imap://[@var{user}[:@var{pass}]@var{host}[:@var{port}][;notls]
+imap://[@var{user}[:@var{pass}]@@]@var{host}[:@var{port}][;notls]
@end example
The @var{host} gives the name or IP address of the host running a IMAP4
diff --git a/libmailutils/locus/linetrack.c b/libmailutils/locus/linetrack.c
index 02768f065..86811a936 100644
--- a/libmailutils/locus/linetrack.c
+++ b/libmailutils/locus/linetrack.c
@@ -31,13 +31,13 @@
new current line is assumed.
Each input file is represented by a directory entry keeping its name,
- number of the first line that is stored in the tracker and the index of
+ the number of the first line that is stored in the tracker and the index of
that line in the cols stack. Entries form a doubly-linked list, with
head pointing to the most recent (current) source. When a new line is
being added to the stack which is full, its eldest entry is discarded
- and is assigned to that line and the directory of the eldest source is
- updated accordingly. If the entry represented the only line of the
- source, the source is discarded.
+ and re-assigned to that line; at the same time the directory of the
+ eldest source is updated accordingly. If the entry to be discarded
+ represents the only line of the source, the source is discarded.
*/
struct source
@@ -59,7 +59,7 @@ struct mu_linetrack
size_t tos; /* Index of the most recent element on stack
(< max_lines) */
unsigned *cols; /* Cyclic stack or character counts.
- Number of characters in line (line + n) is
+ Number of characters in line (head + n) is
cols[head + n] (0 <= n <= tos). */
};
diff --git a/mimeview/grammar.y b/mimeview/grammar.y
index 0a860104a..9f33ee294 100644
--- a/mimeview/grammar.y
+++ b/mimeview/grammar.y
@@ -183,7 +183,6 @@ rule_line: /* empty */
errors++;
if (arg_list)
mu_list_destroy (&arg_list);
- arg_list = NULL;
lex_next_rule ();
yyerrok;
yyclearin;

Return to:

Send suggestions and report system problems to the System administrator.