1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/ftp/vsftpd-ext/files/patch-sysstr.c
Martin Wilke 440e17cfd7 - Update to 3.0.3.1
PR:	227491
Submitted by:	Leonid Nevecherya
Approved by:	maintainer timeout
Sponsored by:	iXsystems Inc.
2018-05-19 18:32:34 +00:00

12 lines
400 B
C

--- sysstr.c.orig 2012-01-03 09:51:23 UTC
+++ sysstr.c
@@ -74,7 +74,7 @@ str_chdir(const struct mystr* p_str)
int
str_open(const struct mystr* p_str, const enum EVSFSysStrOpenMode mode)
{
- enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown;
+ enum EVSFSysUtilOpenMode open_mode = (enum EVSFSysUtilOpenMode) kVSFSysStrOpenUnknown;
switch (mode)
{
case kVSFSysStrOpenReadOnly: