diff options
author | 2007-05-17 03:26:33 +0000 | |
---|---|---|
committer | 2007-05-17 03:26:33 +0000 | |
commit | 4e757633aded70a05795f56791e4caed0843c039 (patch) | |
tree | e6380a76a94e5109c91ecbd716201fdc6a8bcfa8 | |
parent | Add basename(3) and dirname(3) regression tests, from tbert. (diff) | |
download | wireguard-openbsd-4e757633aded70a05795f56791e4caed0843c039.tar.xz wireguard-openbsd-4e757633aded70a05795f56791e4caed0843c039.zip |
Remove nonsensical dereference. From tbert.
OK niallo && xsa
-rw-r--r-- | usr.bin/cvs/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 336f3823d14..3008aeafe5e 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.60 2007/05/16 09:52:47 xsa Exp $ */ +/* $OpenBSD: client.c,v 1.61 2007/05/17 03:26:33 ray Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -765,7 +765,7 @@ cvs_client_remove_entry(char *data) rpath = cvs_remote_input(); if ((filename = strrchr(rpath, '/')) == NULL) fatal("bad rpath in cvs_client_remove_entry: %s", rpath); - *filename++; + filename++; entlist = cvs_ent_open(data); cvs_ent_remove(entlist, filename); |