Skip to content

Make it easier to add new enum values - #4321

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

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

Conversation

@Zenju

@Zenju Zenju commented Sep 11, 2019

Copy link
Copy Markdown
Contributor

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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense!

@bagder

bagder commented Sep 12, 2019

Copy link
Copy Markdown
Member

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