Commit 2e161006 authored by Steve Holme's avatar Steve Holme
Browse files

urldata: Don't define sec_complete when no GSS-API support present

This variable is only used with HAVE_GSSAPI is defined by the FTP code
so let's place the definition with the other GSS-API based variables.
parent d54b551f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -973,8 +973,8 @@ struct connectdata {
    char *te; /* TE: request header */
  } allocptr;

  int sec_complete; /* if Kerberos is enabled for this connection */
#ifdef HAVE_GSSAPI
  int sec_complete; /* if Kerberos is enabled for this connection */
  enum protection_level command_prot;
  enum protection_level data_prot;
  enum protection_level request_data_prot;