Remove trailing whitespace.
MFC after: 2 weeks
This commit is contained in:
parent
86bce74937
commit
f9fbbdf95b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238546
@ -136,7 +136,7 @@ getq(const struct printer *pp, struct jobqueue *(*namelist[]))
|
||||
|
||||
/*
|
||||
* Estimate the array size by taking the size of the directory file
|
||||
* and dividing it by a multiple of the minimum size entry.
|
||||
* and dividing it by a multiple of the minimum size entry.
|
||||
*/
|
||||
arraysz = (stbuf.st_size / 24);
|
||||
queue = (struct jobqueue **)malloc(arraysz * sizeof(struct jobqueue *));
|
||||
@ -641,7 +641,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
|
||||
* secs=<n> - seconds it took to transfer the file
|
||||
* bytes=<n> - number of bytes transfered (ie, "bytecount")
|
||||
* bps=<n.n>e<n> - Bytes/sec (if the transfer was "big enough"
|
||||
* for this to be useful)
|
||||
* for this to be useful)
|
||||
* ! top=<str> - type of printer (if the type is defined in
|
||||
* printcap, and if this statline is for sending
|
||||
* a file to that ptr)
|
||||
@ -719,7 +719,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
|
||||
if (remspace > 1) {
|
||||
strcpy(eostat, "\n");
|
||||
} else {
|
||||
/* probably should back up to just before the final " x=".. */
|
||||
/* probably should back up to just before the final " x=".. */
|
||||
strcpy(statline+STATLINE_SIZE-2, "\n");
|
||||
}
|
||||
statfile = open(statfname, O_WRONLY|O_APPEND, 0664);
|
||||
@ -732,7 +732,7 @@ trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt,
|
||||
close(statfile);
|
||||
|
||||
return;
|
||||
#undef UPD_EOSTAT
|
||||
#undef UPD_EOSTAT
|
||||
}
|
||||
|
||||
#include <stdarg.h>
|
||||
|
Loading…
Reference in New Issue
Block a user