vssh: remove the #ifdef for Curl_ssh_init, use empty macro
In the same style as other init calls
This commit is contained in:
parent
347cf02e9d
commit
8d3ce930f8
@ -188,11 +188,10 @@ static CURLcode global_init(long flags, bool memoryfuncs)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(USE_SSH)
|
|
||||||
if(Curl_ssh_init()) {
|
if(Curl_ssh_init()) {
|
||||||
|
DEBUGF(fprintf(stderr, "Error: Curl_ssh_init failed\n"));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
easy_init_flags = flags;
|
easy_init_flags = flags;
|
||||||
|
|
||||||
|
|||||||
@ -267,6 +267,7 @@ void Curl_ssh_attach(struct Curl_easy *data,
|
|||||||
/* for non-SSH builds */
|
/* for non-SSH builds */
|
||||||
#define Curl_ssh_cleanup()
|
#define Curl_ssh_cleanup()
|
||||||
#define Curl_ssh_attach(x,y)
|
#define Curl_ssh_attach(x,y)
|
||||||
|
#define Curl_ssh_init() 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* HEADER_CURL_SSH_H */
|
#endif /* HEADER_CURL_SSH_H */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user