Skip to content

Make it easier to add new enum values#4321

Closed
Zenju wants to merge 1 commit intocurl:masterfrom
Zenju:patch-5
Closed

Make it easier to add new enum values#4321
Zenju wants to merge 1 commit intocurl:masterfrom
Zenju:patch-5

Conversation

@Zenju
Copy link
Contributor

@Zenju Zenju 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

Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@bagder
Copy link
Member

bagder commented Sep 12, 2019

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Dec 11, 2019
@Zenju Zenju deleted the patch-5 branch November 7, 2022 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants