Skip to content

Commit

Permalink
compiler fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 22, 2023
1 parent c4a205a commit 1dc7a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/server/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void request_log_prepend(request_t *request, fr_log_t *log_dst, fr_log_lvl_t lvl
last = &request->log.dst;
while (*last) {
dst = *last;
if (dst->uctx = log_dst) {
if (dst->uctx == log_dst) {
*last = dst->next;
free(dst);
return;
Expand All @@ -131,7 +131,7 @@ void request_log_prepend(request_t *request, fr_log_t *log_dst, fr_log_lvl_t lvl
/*
* Change the debug level of an existing destination.
*/
for (dst = &request->log.dst; dst != NULL; dst = dst->next) {
for (dst = request->log.dst; dst != NULL; dst = dst->next) {
if (dst->uctx == log_dst) {
dst->lvl = lvl;
return;
Expand Down

0 comments on commit 1dc7a3b

Please sign in to comment.