diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-05-25 23:45:17 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-05-30 07:28:48 -0700 |
| commit | a233f55c780d9138a12e616d826003252b1122c9 (patch) | |
| tree | cce8712f92c9fd9c1d07a087f4a1192dfaa4bb96 /src | |
| parent | 5425d9652341a73433cdfc87030426e382716fca (diff) | |
| download | nng-a233f55c780d9138a12e616d826003252b1122c9.tar.gz nng-a233f55c780d9138a12e616d826003252b1122c9.tar.bz2 nng-a233f55c780d9138a12e616d826003252b1122c9.zip | |
fix for pipe statistic crash
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index 2fa8d017..1e2842dc 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -406,7 +406,7 @@ nni_pipe_bump_error(nni_pipe *p, int err) { if (p->p_dialer != NULL) { nni_dialer_bump_error(p->p_dialer, err); - } else { + } else if (p->p_listener != NULL) { nni_listener_bump_error(p->p_listener, err); } } |
