-/* $OpenBSD: server.c,v 1.38 2014/08/06 16:10:02 jsing Exp $ */
+/* $OpenBSD: server.c,v 1.39 2014/08/06 18:38:11 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
}
if (debug_cmd != -1 && msg != NULL) {
- memset(&ibuf, 0, sizeof(ibuf));
- memset(&obuf, 0, sizeof(obuf));
+ memset(ibuf, 0, sizeof(ibuf));
+ memset(obuf, 0, sizeof(obuf));
(void)print_host(&clt->clt_ss, ibuf, sizeof(ibuf));
(void)server_http_host(&clt->clt_srv_ss, obuf, sizeof(obuf));
if (EVBUFFER_LENGTH(clt->clt_log) &&
-/* $OpenBSD: server_fcgi.c,v 1.23 2014/08/06 15:08:04 florian Exp $ */
+/* $OpenBSD: server_fcgi.c,v 1.24 2014/08/06 18:38:11 reyk Exp $ */
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
socket_set_blockmode(fd, BM_NONBLOCK);
- memset(&hbuf, 0, sizeof(hbuf));
+ memset(hbuf, 0, sizeof(hbuf));
clt->clt_fcgi_state = FCGI_READ_HEADER;
clt->clt_fcgi_toread = sizeof(struct fcgi_record_header);