Commit dc0ccd2f dc0ccd2ffffae672da84d39d8c11ca2c39b3ba49 by Alain Magloire

Fix a typo, and was calling the wrong function to obtain

the number of line.  Still unfinish  ... sigh .. lots lots to be done.
1 parent 7b84c279
......@@ -512,7 +512,7 @@ fetch_operation (size_t msgno, char *arg, int silent)
/* Check for section specific offset. */
if (partial)
{
/* FIXME: This shoud be move in imap4d_fetch() and have more
/* FIXME: This should be move in imap4d_fetch() and have a more
draconian check. */
*partial = '\0';
partial++;
......@@ -538,7 +538,7 @@ fetch_operation (size_t msgno, char *arg, int silent)
off_t off = 0;
message_get_stream (msg, &stream);
message_size (msg, &size);
message_size (msg, &lines);
message_lines (msg, &lines);
if (!silent)
util_send ("%s", arg);
util_send ("%s {%u}\r\n", partial, size + lines);
......