projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduced wrapper macros snew(), snewn() and sresize() for the
[u/mdw/putty]
/
unix
/
ux_x11.c
diff --git
a/unix/ux_x11.c
b/unix/ux_x11.c
index
61b4f04
..
47d0ef5
100644
(file)
--- a/
unix/ux_x11.c
+++ b/
unix/ux_x11.c
@@
-29,7
+29,7
@@
void platform_get_x11_auth(char *display, int *protocol,
if (!fp)
return; /* assume no auth */
- localbuf = s
malloc(maxsize
);
+ localbuf = s
newn(maxsize, char
);
while (1) {
/*