From: Steve Holme Date: Sat, 15 Nov 2014 13:02:31 +0000 (+0000) Subject: urldata: Don't define sec_complete when no GSS-API support present X-Git-Tag: curl-7_40_0~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e16100609bb57c026c9ebd14aef23e4b356f8a8;p=curl 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. --- diff --git a/lib/urldata.h b/lib/urldata.h index f708a74a7..f5e8a783f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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;