Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet() #1051

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Oct 19, 2020

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet()

Additional description (if needed):
Additionally refactor dccutil.c:add_cr() and dcc.c:escape_telnet() into a single misc.c:add_cr()

Test cases demonstrating functionality (if applicable):
Connecting to the bot via telnet was successful and output was the same as before.

@thommey
Copy link
Member

thommey commented Aug 13, 2023

why is this useful? aren't those putlog lines limited anyway?

@michaelortmann
Copy link
Member Author

why is this useful? aren't those putlog lines limited anyway?

what about

#define LOGLINEMAX 9000 /* for misc.c/putlog() <cybah> */
?

@michaelortmann michaelortmann changed the title Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet() (WIP) Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet() Jul 10, 2024
@michaelortmann michaelortmann changed the title (WIP) Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet() Remove the limit of 1024 chars for input/output of add_cr() and escape_telnet() Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants