Search
j0ke.net Open Build Service
>
Projects
>
server:ftp
>
pure-ftpd
> pure-ftpd-1.0.20_ftpwho_path.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pure-ftpd-1.0.20_ftpwho_path.patch of Package pure-ftpd (Revision 4)
Currently displaying revision
4
,
show latest
Index: src/ftpwho-update.h =================================================================== --- src/ftpwho-update.h.orig +++ src/ftpwho-update.h @@ -26,6 +26,9 @@ typedef struct FTPWhoEntry_ { volatile off_t download_total_size; volatile off_t download_current_size; char account[MAX_USER_LENGTH + 1U]; +#ifdef PATH_MAX + char filename[PATH_MAX]; +#else #if defined(__OpenBSD__) || defined(__MicroBSD__) || defined(__ekkoBSD__) char filename[1024]; #else @@ -39,6 +42,7 @@ typedef struct FTPWhoEntry_ { char filename[1024]; # endif #endif +#endif } FTPWhoEntry; int ftpwho_initwho(void);