Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix compile issue from statusserver-auto for some platforms.
  • Loading branch information
Fabian Mauchle committed May 14, 2019
1 parent fcfb122 commit 4e19f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion radsecproxy.c
Expand Up @@ -1950,7 +1950,7 @@ void *clientwr(void *arg) {
pthread_mutex_unlock(rqout->lock);
}
do_resend = 0;
if (server->state == RSP_SERVER_STATE_CONNECTED && !conf->statusserver == RSP_STATSRV_OFF) {
if (server->state == RSP_SERVER_STATE_CONNECTED && !(conf->statusserver == RSP_STATSRV_OFF)) {
gettimeofday(&now, NULL);
if ((conf->statusserver == RSP_STATSRV_ON && now.tv_sec - (laststatsrv.tv_sec ? server->lastrcv.tv_sec : laststatsrv.tv_sec) > STATUS_SERVER_PERIOD) ||
(conf->statusserver == RSP_STATSRV_MINIMAL && statusserver_requested && now.tv_sec - laststatsrv.tv_sec > STATUS_SERVER_PERIOD) ||
Expand Down
1 change: 1 addition & 0 deletions tests/Makefile.am
Expand Up @@ -3,5 +3,6 @@ AUTOMAKE_OPTIONS = foreign
check_PROGRAMS = t_fticks
AM_CFLAGS = -g -Wall -Werror @SSL_CFLAGS@ @TARGET_CFLAGS@
LDADD = $(top_builddir)/librsp.a @SSL_LIBS@
LDFLAGS = @SSL_LDFLAGS@ @TARGET_LDFLAGS@

TESTS = $(check_PROGRAMS)

0 comments on commit 4e19f7d

Please sign in to comment.