]> asedeno.scripts.mit.edu Git - PuTTY.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)
commitbe8818b4bcf3a802850c99ee68731a9a8663c94b
treee5bc8c620e466c21bc8bc66b14e18d4875f65e43
parentac041a3d66c8105645267af4f017c55a8a4ef48f
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.

[originally from svn r7685]
cmdline.c