summaryrefslogtreecommitdiffstats
path: root/pceplib
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-28 19:39:37 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-28 19:39:37 +0200
commit694f0671c53cd4c884571e8394a262e8e9f13cee (patch)
treed4a6113791d8fb49deea0b7356cc1d278bc13151 /pceplib
parentMerge pull request #8740 from mjstapp/fix_static_ret (diff)
downloadfrr-694f0671c53cd4c884571e8394a262e8e9f13cee.tar.xz
frr-694f0671c53cd4c884571e8394a262e8e9f13cee.zip
pceplib: fix mixup of global/local variables
CID 1502790 Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'pceplib')
-rw-r--r--pceplib/pcep_session_logic_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pceplib/pcep_session_logic_loop.c b/pceplib/pcep_session_logic_loop.c
index 4b855c06c..77392fb6a 100644
--- a/pceplib/pcep_session_logic_loop.c
+++ b/pceplib/pcep_session_logic_loop.c
@@ -332,7 +332,7 @@ void *session_logic_loop(void *data)
session_logic_handle
->session_event_queue);
pthread_mutex_unlock(
- &(session_logic_handle_
+ &(session_logic_handle
->session_list_mutex));
continue;
}
@@ -350,7 +350,7 @@ void *session_logic_loop(void *data)
session_logic_handle->session_event_queue);
pthread_mutex_unlock(
- &(session_logic_handle_->session_list_mutex));
+ &(session_logic_handle->session_list_mutex));
}
session_logic_handle->session_logic_condition = false;