diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-01-09 14:11:24 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-01-09 14:11:24 +0000 |
commit | 51c09eb85b4de37f1ce137f1181451ae1de4dc53 (patch) | |
tree | 5208fb3845cd9d00555c894f4c881c182ad5a106 /usr.sbin | |
parent | e7a846275cccd81c533417c7c5aec5490dca4077 (diff) |
typo
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/hoststated/check_http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/check_http.c b/usr.sbin/hoststated/check_http.c index d7ace782be6..4e56f321ca9 100644 --- a/usr.sbin/hoststated/check_http.c +++ b/usr.sbin/hoststated/check_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: check_http.c,v 1.7 2007/01/09 00:45:32 deraadt Exp $ */ +/* $OpenBSD: check_http.c,v 1.8 2007/01/09 14:11:23 reyk Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> * @@ -131,7 +131,7 @@ http_read(int s, short event, void *arg) buf_add(cte->buf, rbuf, br); bcopy(&cte->table->timeout, &tv, sizeof(tv)); if (gettimeofday(&tv_now, NULL)) - fatal("send_http_request: gettimeofday"); + fatal("http_read: gettimeofday"); timersub(&tv_now, &cte->tv_start, &tv_now); timersub(&tv, &tv_now, &tv); event_once(s, EV_READ|EV_TIMEOUT, http_read, cte, &tv); |