diff options
author | 2006-03-16 08:43:43 +0000 | |
---|---|---|
committer | 2006-03-16 08:43:43 +0000 | |
commit | 8b1e126cbd857e5eb27da95e0e80bf4501a4d3b3 (patch) | |
tree | b485d79d4c4782f7108e210f016e8966e9495a25 | |
parent | kill two unused variables. (diff) | |
download | wireguard-openbsd-8b1e126cbd857e5eb27da95e0e80bf4501a4d3b3.tar.xz wireguard-openbsd-8b1e126cbd857e5eb27da95e0e80bf4501a4d3b3.zip |
add missing {} so everything gets reached.
-rw-r--r-- | usr.bin/cvs/resp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 471c70ac635..e57ad3e5780 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.71 2006/01/27 12:56:28 xsa Exp $ */ +/* $OpenBSD: resp.c,v 1.72 2006/03/16 08:43:43 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -336,9 +336,10 @@ cvs_resp_statdir(struct cvsroot *root, int type, char *line) if (strlcpy(statpath, line, sizeof(statpath)) >= sizeof(statpath) || strlcat(statpath, "/", sizeof(statpath)) >= sizeof(statpath) || strlcat(statpath, CVS_PATH_STATICENTRIES, - sizeof(statpath)) >= sizeof(statpath)) + sizeof(statpath)) >= sizeof(statpath)) { cvs_log(LP_ERR, "Entries.static path truncation"); return (-1); + } if (cvs_noexec == 0) { if ((type == CVS_RESP_CLRSTATDIR) && |