Updated Hydra and Binkp for log/short filenames

This commit is contained in:
Michiel Broek
2001-12-12 22:46:25 +00:00
parent c553fc3489
commit 558c79c6bf
3 changed files with 16 additions and 6 deletions

View File

@@ -125,6 +125,12 @@ int binkp(int role)
}
eff_remote = remote;
/*
* If remote doesn't have the 8.3 flag set, allow long filenames.
*/
if (!nodes.FNC)
remote_flags &= ~SESSION_FNC;
tosend = create_filelist(eff_remote, nonhold_mail, 0);
request = create_freqlist(remote);

View File

@@ -1,8 +1,7 @@
/*****************************************************************************
*
* File ..................: mbcico/hydra.c
* Purpose ...............: Fidonet mailer
* Last modification date : 07-Aug-2001
* $Id$
* Purpose ...............: Fidonet mailer - Hydra protocol driver
* Remark ................: See below for more copyright details and credits.
*
*****************************************************************************
@@ -871,7 +870,8 @@ int hydra_batch(int role, file_list *to_send)
/*
* convert file name to DOS-format
*/
outbuf = xtodos(to_send->remote);
outbuf = xstrcpy(to_send->remote);
name_mangle(outbuf);
strcpy(txbuf + txlen, outbuf);
free(outbuf);
for(; txbuf[txlen]; txlen++) {