Lines Matching refs:tmp_buf
61 buffer *tmp_buf; member
74 p->tmp_buf = buffer_init(); in INIT_FUNC()
118 buffer_free(p->tmp_buf); in FREE_FUNC()
389 buffer_copy_string_buffer(p->tmp_buf, p->conf.mc_namespace); in URIHANDLER_FUNC()
390 buffer_append_string(p->tmp_buf, remote_ip); in URIHANDLER_FUNC()
392 for (i = 0; i < p->tmp_buf->used - 1; i++) { in URIHANDLER_FUNC()
393 if (p->tmp_buf->ptr[i] == ' ') p->tmp_buf->ptr[i] = '-'; in URIHANDLER_FUNC()
397 log_error_write(srv, __FILE__, __LINE__, "sb", "(debug) triggered IP:", p->tmp_buf); in URIHANDLER_FUNC()
401 CONST_BUF_LEN(p->tmp_buf), in URIHANDLER_FUNC()
476 buffer_copy_string_buffer(p->tmp_buf, p->conf.mc_namespace); in URIHANDLER_FUNC()
477 buffer_append_string(p->tmp_buf, remote_ip); in URIHANDLER_FUNC()
479 for (i = 0; i < p->tmp_buf->used - 1; i++) { in URIHANDLER_FUNC()
480 if (p->tmp_buf->ptr[i] == ' ') p->tmp_buf->ptr[i] = '-'; in URIHANDLER_FUNC()
484 log_error_write(srv, __FILE__, __LINE__, "sb", "(debug) checking IP:", p->tmp_buf); in URIHANDLER_FUNC()
494 CONST_BUF_LEN(p->tmp_buf) in URIHANDLER_FUNC()
509 CONST_BUF_LEN(p->tmp_buf), in URIHANDLER_FUNC()