mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2708 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8969b6cc47
commit
3f43df1db8
1 changed files with 2 additions and 3 deletions
|
|
@ -168,8 +168,7 @@ static char *dcc_send_get_file(const char *fname)
|
||||||
static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server,
|
static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server,
|
||||||
WI_ITEM_REC *item)
|
WI_ITEM_REC *item)
|
||||||
{
|
{
|
||||||
const char *fname;
|
char *target, *str, *fname;
|
||||||
char *target, *str;
|
|
||||||
void *free_arg;
|
void *free_arg;
|
||||||
char host[MAX_IP_LEN];
|
char host[MAX_IP_LEN];
|
||||||
int hfile, port;
|
int hfile, port;
|
||||||
|
|
@ -228,7 +227,7 @@ static void cmd_dcc_send(const char *data, IRC_SERVER_REC *server,
|
||||||
cmd_param_error(CMDERR_ERRNO);
|
cmd_param_error(CMDERR_ERRNO);
|
||||||
}
|
}
|
||||||
|
|
||||||
fname = g_basename(fname);
|
fname = (char *) g_basename(fname);
|
||||||
|
|
||||||
/* Replace all the spaces with underscore so that lesser
|
/* Replace all the spaces with underscore so that lesser
|
||||||
intellgent clients can communicate.. */
|
intellgent clients can communicate.. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue