Skip to content

Commit

Permalink
compat: avoid trailing commas on last list item
Browse files Browse the repository at this point in the history
  • Loading branch information
ethomson committed Dec 14, 2023
1 parent 7545a95 commit 1e44d32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ntlm.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ typedef enum {
NTLM_STATE_CHALLENGE = 1,
NTLM_STATE_RESPONSE = 2,
NTLM_STATE_ERROR = 3,
NTLM_STATE_COMPLETE = 4,
NTLM_STATE_COMPLETE = 4
} ntlm_state;

typedef struct {
Expand Down Expand Up @@ -122,15 +122,15 @@ struct ntlm_client {
};

typedef enum {
NTLM_ENABLE_HOSTVERSION = (1 << 31),
NTLM_ENABLE_HOSTVERSION = (1 << 31)
} ntlm_client_internal_flags;

typedef enum {
NTLM_TARGET_INFO_END = 0,
NTLM_TARGET_INFO_SERVER = 1,
NTLM_TARGET_INFO_DOMAIN = 2,
NTLM_TARGET_INFO_SERVER_DNS = 3,
NTLM_TARGET_INFO_DOMAIN_DNS = 4,
NTLM_TARGET_INFO_DOMAIN_DNS = 4
} ntlm_target_info_type_t;

typedef enum {
Expand Down Expand Up @@ -168,7 +168,7 @@ typedef enum {
NTLM_NEGOTIATE_TARGET_INFO = 0x00800000,

/* Version information should be provided */
NTLM_NEGOTIATE_VERSION = 0x01000000,
NTLM_NEGOTIATE_VERSION = 0x01000000
} ntlm_negotiate_t;

extern int ntlm_client_set_nonce(ntlm_client *ntlm, uint64_t nonce);
Expand Down

0 comments on commit 1e44d32

Please sign in to comment.