diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-05-17 03:26:34 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-05-17 03:26:34 +0000 |
commit | c4f81aaaa1686916901fae8226325db71d272bab (patch) | |
tree | a0ceb50541c904517f981deaabbb3f62412f41ea /usr.bin | |
parent | 4eb99b5c5b130039d18fd378cf72b69985e8e3c8 (diff) |
Remove nonsensical dereference. From tbert.
OK niallo && xsa
Diffstat (limited to 'usr.bin')
-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); |