diff options
-rw-r--r-- | mail/popper/files/patch-ag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/popper/files/patch-ag b/mail/popper/files/patch-ag index 9ed0df9ccc06..b86319be3e93 100644 --- a/mail/popper/files/patch-ag +++ b/mail/popper/files/patch-ag @@ -45,7 +45,7 @@ /* Append the <CR><LF> */ - (void)strcat(message, "\r\n"); + len -= strlen(message); -+ (void)strncat(message, len, "\r\n"); ++ (void)strncat(message, "\r\n", len); /* Send the message to the client */ (void)fputs(message,p->output); |