Date: Tue, 7 Jun 2011 15:40:18 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222824 - head/usr.sbin/rtadvd Message-ID: <201106071540.p57FeI4Y089774@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Tue Jun 7 15:40:17 2011 New Revision: 222824 URL: http://svn.freebsd.org/changeset/base/222824 Log: Fix a bug that prevents tc=xxx from working. Modified: head/usr.sbin/rtadvd/advcap.c Modified: head/usr.sbin/rtadvd/advcap.c ============================================================================== --- head/usr.sbin/rtadvd/advcap.c Tue Jun 7 14:36:13 2011 (r222823) +++ head/usr.sbin/rtadvd/advcap.c Tue Jun 7 15:40:17 2011 (r222824) @@ -81,7 +81,6 @@ static char *tbuf; static int hopcount; /* detect infinite loops in termcap, init 0 */ -static const char *remotefile; extern const char *conffile; int tgetent(char *, char *); @@ -204,7 +203,7 @@ tnchktc(void) write(STDERR_FILENO, "Infinite tc= loop\n", 18); return (0); } - if (getent(tcbuf, tcname, remotefile) != 1) { + if (getent(tcbuf, tcname, conffile) != 1) { return (0); } for (q = tcbuf; *q++ != ':'; )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106071540.p57FeI4Y089774>