1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 06:46:45 +02:00

send name instead of full path with file send request

This commit is contained in:
Jfreegman
2014-02-11 18:52:04 -05:00
parent 1f06606c5b
commit 16b8f85d95
5 changed files with 30 additions and 21 deletions

View File

@ -47,3 +47,6 @@ bool valid_nick(uint8_t *nick);
/* Moves the cursor to the end of the line in given window */
void mv_curs_end(WINDOW *w, size_t len, int max_y, int max_x);
/* Returns base file name from path or original file name if no path is supplied */
uint8_t *get_file_name(uint8_t *pathname);