diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-23 18:20:04 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-03-23 18:20:04 +0000 |
commit | ae7c45e2dbfa8a1693c5a2eebf0f8cca49cc4477 (patch) | |
tree | 6ab48fee8319800dcf78b49eac02894d98280293 | |
parent | c766bfb6d61fa318711854754b77083acd3c340b (diff) |
Remove erroneous null termination.
ok ho@ deraadt@
-rw-r--r-- | sbin/isakmpd/monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c index 3120054a343..e0fffa6c8a0 100644 --- a/sbin/isakmpd/monitor.c +++ b/sbin/isakmpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.13 2004/03/19 14:04:43 hshoexer Exp $ */ +/* $OpenBSD: monitor.c,v 1.14 2004/03/23 18:20:03 hshoexer Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -979,7 +979,6 @@ m_read_raw (int s, char *data, size_t maxlen) if (v > maxlen) return 1; r = read (s, data, v); - data[v - 1] = 0; return (r == -1); } |