Date: Thu, 16 May 1996 19:58:01 -0700 (PDT) From: invalid opcode <coredump@nervosa.com> To: freebsd-current@freebsd.org Message-ID: <Pine.BSF.3.91.960516195231.19952A-100000@onyx.nervosa.com>
next in thread | raw e-mail | index | archive | help
Scratch that last post, the correct patch is: *** rlogin.c Thu May 16 19:52:12 1996 --- rlogin.c.new Thu May 16 19:54:02 1996 *************** *** 241,246 **** --- 241,252 ---- if (!user) user = pw->pw_name; + if (p = rindex(host, '@')) { + memmove((char *)user, (char *)host, p - host); + user[p - host] = '\0'; + host = ++p; + } + sp = NULL; #ifdef KERBEROS if (use_kerberos) { == Chris Layne ======================================== Nervosa Computing == == coredump@nervosa.com ================ http://www.nervosa.com/~coredump ==
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960516195231.19952A-100000>