diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2002-04-19 18:46:10 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2002-04-19 18:46:10 +0000 |
commit | fc7477304db907fcf44168b123ff1ecc5eb750aa (patch) | |
tree | 12b8a63df2e67461738e8911e65473532d31f23e /usr.sbin/lpr/lpd/printjob.c | |
parent | f6d566839683bde5bca1917ede3d31fa39aeb5dc (diff) |
Remove a safety-setting line which is unnecessary now that the previous
line is using strlcpy instead of strncpy.
MFC after: 4 days
Notes
Notes:
svn path=/head/; revision=95069
Diffstat (limited to 'usr.sbin/lpr/lpd/printjob.c')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index 4883264e9877..3ac859e31a78 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -514,7 +514,6 @@ printit(struct printer *pp, char *file) case 'Z': /* locale for pr */ strlcpy(locale, line + 1, sizeof(locale)); - locale[sizeof(locale) - 1] = '\0'; continue; default: /* some file to print */ |