Type improvements to the internal encrypt/decrypt and CTCP quoting API
Use size_t for passing buffer lengths, and const char * for encryption keys and other non-modified buffer arguments. Remove pointless helper function do_crypt().
This commit is contained in:
@@ -3789,6 +3789,8 @@ int current_target = 0;
|
||||
*/
|
||||
void BX_send_text(const char *nick_list, const char *text, char *command, int hook, int log)
|
||||
{
|
||||
static int sent_text_recursion = 0;
|
||||
|
||||
int i,
|
||||
old_server,
|
||||
not_done = 1,
|
||||
@@ -3797,9 +3799,8 @@ void BX_send_text(const char *nick_list, const char *text, char *command, int h
|
||||
char *current_nick,
|
||||
*next_nick,
|
||||
*free_nick,
|
||||
*line,
|
||||
*key = NULL;
|
||||
static int sent_text_recursion = 0;
|
||||
*line;
|
||||
const char *key = NULL;
|
||||
|
||||
struct target_type target[4] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user