=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.141 retrieving revision 1.142 diff -u -r1.141 -r1.142 --- src/usr.bin/cvs/update.c 2008/03/09 14:28:21 1.141 +++ src/usr.bin/cvs/update.c 2008/03/09 15:43:55 1.142 @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.141 2008/03/09 14:28:21 joris Exp $ */ +/* $OpenBSD: update.c,v 1.142 2008/03/09 15:43:55 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -575,7 +575,7 @@ told = cvs_specified_date; - if ((p = strrchr(jrev2, ':')) != NULL) { + if ((p = strchr(jrev2, ':')) != NULL) { (*p++) = '\0'; cvs_specified_date = cvs_date_parse(p); } @@ -584,7 +584,7 @@ cvs_specified_date = told; if (jrev1 != NULL) { - if ((p = strrchr(jrev1, ':')) != NULL) { + if ((p = strchr(jrev1, ':')) != NULL) { (*p++) = '\0'; cvs_specified_date = cvs_date_parse(p); }