Date: Mon, 11 Aug 2014 14:46:10 +0000 (UTC) From: Andrey A. Chernov <ache@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269811 - head/contrib/opie Message-ID: <53e8d732.2caa.3b2dbe2@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ache Date: Mon Aug 11 14:46:09 2014 New Revision: 269811 URL: http://svnweb.freebsd.org/changeset/base/269811 Log: Last '/' for program name, not first one MFC after: 1 week Modified: head/contrib/opie/opiekey.c Modified: head/contrib/opie/opiekey.c ============================================================================== --- head/contrib/opie/opiekey.c Mon Aug 11 14:37:57 2014 (r269810) +++ head/contrib/opie/opiekey.c Mon Aug 11 14:46:09 2014 (r269811) @@ -145,7 +145,7 @@ int main FUNCTION((argc, argv), int argc int type = RESPONSE_STANDARD; int force = 0; - if (slash = strchr(argv[0], '/')) + if (slash = strrchr(argv[0], '/')) slash++; else slash = argv[0];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e8d732.2caa.3b2dbe2>