Fix a typo, and was calling the wrong function to obtain
the number of line. Still unfinish ... sigh .. lots lots to be done.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -512,7 +512,7 @@ fetch_operation (size_t msgno, char *arg, int silent) | ... | @@ -512,7 +512,7 @@ fetch_operation (size_t msgno, char *arg, int silent) |
512 | /* Check for section specific offset. */ | 512 | /* Check for section specific offset. */ |
513 | if (partial) | 513 | if (partial) |
514 | { | 514 | { |
515 | /* FIXME: This shoud be move in imap4d_fetch() and have more | 515 | /* FIXME: This should be move in imap4d_fetch() and have a more |
516 | draconian check. */ | 516 | draconian check. */ |
517 | *partial = '\0'; | 517 | *partial = '\0'; |
518 | partial++; | 518 | partial++; |
... | @@ -538,7 +538,7 @@ fetch_operation (size_t msgno, char *arg, int silent) | ... | @@ -538,7 +538,7 @@ fetch_operation (size_t msgno, char *arg, int silent) |
538 | off_t off = 0; | 538 | off_t off = 0; |
539 | message_get_stream (msg, &stream); | 539 | message_get_stream (msg, &stream); |
540 | message_size (msg, &size); | 540 | message_size (msg, &size); |
541 | message_size (msg, &lines); | 541 | message_lines (msg, &lines); |
542 | if (!silent) | 542 | if (!silent) |
543 | util_send ("%s", arg); | 543 | util_send ("%s", arg); |
544 | util_send ("%s {%u}\r\n", partial, size + lines); | 544 | util_send ("%s {%u}\r\n", partial, size + lines); | ... | ... |
-
Please register or sign in to post a comment