mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warning
SVN revision: 2078
This commit is contained in:
parent
e36c2bf892
commit
f1b654ac2f
@ -471,7 +471,7 @@ INT retrieve_elog(int sock, char *subdir, char *experiment,
|
|||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
|
|
||||||
int elog_connect(char *host, int port, int ssl)
|
int elog_connect(char *host, int port)
|
||||||
{
|
{
|
||||||
int status, sock;
|
int status, sock;
|
||||||
struct hostent *phe;
|
struct hostent *phe;
|
||||||
@ -573,7 +573,7 @@ INT submit_elog(char *host, int port, int ssl, char *subdir, char *experiment,
|
|||||||
SSL *ssl_con;
|
SSL *ssl_con;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sock = elog_connect(host, port, ssl);
|
sock = elog_connect(host, port);
|
||||||
if (sock < 0)
|
if (sock < 0)
|
||||||
return sock;
|
return sock;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user