Changed bogus 'strncpy' to 'strcpy'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@641 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -741,7 +741,7 @@ getterminaltype(name)
|
|||||||
*/
|
*/
|
||||||
_gettermname();
|
_gettermname();
|
||||||
if (strncmp(first, terminaltype, sizeof(first)) != 0)
|
if (strncmp(first, terminaltype, sizeof(first)) != 0)
|
||||||
(void) strncpy(terminaltype, first, sizeof(first));
|
(void) strcpy(terminaltype, first);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user