]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Correctly terminate nc target hostname when copying it.
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 7 Aug 2007 22:02:03 +0000 (22:02 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 7 Aug 2007 22:02:03 +0000 (22:02 +0000)
commit8c4701ca4fdb14dc0b9c4668f914567443157432
treee5bc8c620e466c21bc8bc66b14e18d4875f65e43
parent3274c1d18230766195878cd3a704675fb643c087
Correctly terminate nc target hostname when copying it.
While we're here, use memcpy rather than strncpy when we've already worked
out how much we're going to copy.

git-svn-id: http://svn.tartarus.org/sgt/putty@7685 cda61777-01e9-0310-a592-d414129be87e
cmdline.c