mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG/MINOR: spoe: Don't rely on SPOE ctx in debug message when its creation failed
If the SPOE context creation failed, we must not try to use it in the debug message used to notice the error. This patch must be backported in 1.7.
This commit is contained in:
parent
3dc860d19d
commit
ccbc3fd9f9
1 changed files with 1 additions and 1 deletions
|
|
@ -2762,7 +2762,7 @@ spoe_start(struct stream *s, struct filter *filter)
|
|||
SPOE_PRINTF(stderr, "%d.%06d [SPOE/%-15s] %s: stream=%p"
|
||||
" - failed to create SPOE context\n",
|
||||
(int)now.tv_sec, (int)now.tv_usec, agent->id,
|
||||
__FUNCTION__, ctx->strm);
|
||||
__FUNCTION__, s);
|
||||
send_log(s->be, LOG_EMERG,
|
||||
"SPOE: [%s] failed to create SPOE context\n",
|
||||
agent->id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue