Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier to add new enum values #4321

Closed
wants to merge 1 commit into from

Conversation

@Zenju
Copy link
Contributor

commented Sep 11, 2019

Hi,

my sync tool requires a CURLOPT_FTP_FILEMETHOD like CURLFTPMETHOD_NOCWD, but with support for quote-only commands (without any actual upload/downloads involved) e.g. RNFR/RNTO, etc. that issues no CWDs.

The patch attached makes it easier to add new enum values in the future without also breaking setopt.c.

Best, Zenju

@bagder
bagder approved these changes Sep 11, 2019
Copy link
Member

left a comment

Makes sense!

@bagder

This comment has been minimized.

Copy link
Member

commented Sep 12, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.