projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added uxsel.c, into which I've moved those parts of the uxnet.c
[u/mdw/putty]
/
unix
/
uxprint.c
diff --git
a/unix/uxprint.c
b/unix/uxprint.c
index
c835b6f
..
77bcb7f
100644
(file)
--- a/
unix/uxprint.c
+++ b/
unix/uxprint.c
@@
-12,7
+12,7
@@
struct printer_job_tag {
printer_job *printer_start_job(char *printer)
{
- printer_job *ret = s
malloc(sizeof(printer_job)
);
+ printer_job *ret = s
new(printer_job
);
/*
* On Unix, we treat the printer string as the name of a
* command to pipe to - typically lpr, of course.