-/* $OpenBSD: logger.c,v 1.4 2014/08/06 12:29:43 jsg Exp $ */
+/* $OpenBSD: logger.c,v 1.5 2014/08/06 12:56:58 reyk Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
}
log->log_id = ++last_log_id;
- (void)strlcpy(log->log_name, name, sizeof(log->log_name));
+ (void)strlcpy(log->log_name, name, sizeof(log->log_name));
/* The file will be opened by the parent process */
log->log_fd = -1;
-/* $OpenBSD: parse.y,v 1.29 2014/08/06 02:04:42 jsing Exp $ */
+/* $OpenBSD: parse.y,v 1.30 2014/08/06 12:56:58 reyk Exp $ */
/*
* Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org>
s->srv_conf.flags |= SRVFLAG_SSL;
}
}
- | TCP {
+ | TCP {
if (parentsrv != NULL) {
yyerror("tcp flags inside location");
YYERROR;
}
} tcpip
- | CONNECTION {
+ | CONNECTION {
if (parentsrv != NULL) {
yyerror("connection options inside location");
YYERROR;
-/* $OpenBSD: server.c,v 1.34 2014/08/06 11:24:12 reyk Exp $ */
+/* $OpenBSD: server.c,v 1.35 2014/08/06 12:56:58 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
(*bufev->readcb)(bufev, bufev->cbarg);
return;
-retry:
+ retry:
server_bufferevent_add(&bufev->ev_read, bufev->timeout_read);
return;
-err:
+ err:
(*bufev->errorcb)(bufev, what, bufev->cbarg);
}
(*bufev->writecb)(bufev, bufev->cbarg);
return;
-retry:
+ retry:
if (clt->clt_buflen != 0)
server_bufferevent_add(&bufev->ev_write, bufev->timeout_write);
return;
-err:
+ err:
if (clt->clt_buf != NULL) {
free(clt->clt_buf);
clt->clt_buf = NULL;