]> granicus.if.org Git - curl/commitdiff
urldata: Don't define sec_complete when no GSS-API support present
authorSteve Holme <steve_holme@hotmail.com>
Sat, 15 Nov 2014 13:02:31 +0000 (13:02 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 15 Nov 2014 13:15:02 +0000 (13:15 +0000)
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.

lib/urldata.h

index f708a74a7b08a1c3663b253e5f0542b65d2e844a..f5e8a783f92b5b390638c098463601cd90baa225 100644 (file)
@@ -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;