diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-servers-setup.c | 3 | ||||
-rw-r--r-- | src/irc/dcc/dcc-send.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/core/irc-servers-setup.c b/src/irc/core/irc-servers-setup.c index bbc710f4..5b4fcb44 100644 --- a/src/irc/core/irc-servers-setup.c +++ b/src/irc/core/irc-servers-setup.c @@ -83,8 +83,7 @@ static void sig_server_setup_fill_chatnet(IRC_SERVER_CONNECT_REC *conn, static void init_userinfo(void) { - const char *set, *nick, *user_name; - char *str; + const char *set, *nick, *user_name, *str; /* check if nick/username/realname wasn't read from setup.. */ set = settings_get_str("real_name"); diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 7c35cc4d..14b67285 100644 --- a/src/irc/dcc/dcc-send.c +++ b/src/irc/dcc/dcc-send.c @@ -168,7 +168,8 @@ static char *dcc_send_get_file(const char *fname) static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server, WI_ITEM_REC *item) { - char *target, *fname, *str; + const char *fname; + char *target, *str; void *free_arg; char host[MAX_IP_LEN]; int hfile, port; |