-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix add_note() - Followup to #1763 #1759
base: develop
Are you sure you want to change the base?
Conversation
98b7f65
to
6435211
Compare
@@ -528,6 +528,7 @@ typedef void (*chanout_butfunc)(int, int, const char *, ...) ATTRIBUTE_FORMAT(pr | |||
/* 324 - 327 */ | |||
#define find_member_from_nick ((memberlist * (*) (char *))global[324]) | |||
#define get_user_from_member ((struct userrec * (*) (memberlist *))global[325]) | |||
#define splitcn ((void (*)(char *, char *, char, size_t))global[326]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is one of these actually const char ptr as the input?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none of the char * params. the 3rd paramter char could be const. but i dont see any benefit in
splitcn ((void (*)(char *, char *, const char, size_t)
do you?
Found by: michaelortmann
Patch by: michaelortmann
Fixes:
One-line summary:
Fix add_note()
Additional description (if needed):
Test cases demonstrating functionality (if applicable):
Before:
After: