Skip to content

Commit

Permalink
fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Apr 29, 2024
1 parent 547cf9d commit c7dc7e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions logalert-x/doc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Release 0.4.0-1.1 Start 13/04/2023 End 15/10/2023
- 15/10/2023
5. logclient.c: Ensure qmail/tls.h gets included
- 01/01/2024 - indimail-3.4.6
- 29/04/2024
6. logclient.c: fixed compilation warnings

* Thu 08 Sep 2022 14:38:16 +0000 Manvendra Bhangui <logalert@indimail.org> 0.3.0-1.1%{?dist}
Release 0.3.0-1.1 Start 25/02/2010
Expand Down
4 changes: 2 additions & 2 deletions logalert-x/logclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#ifdef HAVE_SSL
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <tls.h>
#endif
#include <tls.h>
#ifdef HAVE_QMAIL
#include <substdio.h>
#include <subfd.h>
Expand Down Expand Up @@ -356,7 +356,7 @@ consclnt(char *remote, char **argv, char *clientcert, char *cafile, char *crlfil
switch (fork())
{
case -1:
perror("fork");
fprintf(stderr, "fork: %s\n", error_str(errno));
return 1;
case 0:
close(0);
Expand Down

0 comments on commit c7dc7e5

Please sign in to comment.