clear answer before reusing it
This commit is contained in:
parent
780bdb30ce
commit
5140065b3e
@ -221,7 +221,7 @@ void * networker(void * arg) {
|
||||
|
||||
if (!dispatcher_result) {
|
||||
// answer[0] = '\0';
|
||||
answer->buf[0] = '\0';
|
||||
htbuffer_clear(answer);
|
||||
dispatcher_result = containers_dispatcher(container_handle, input, answer);
|
||||
syslog(LOG_DEBUG, "networker: dispatcher result: %d, answer: %s", dispatcher_result, answer->buf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user