projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In merging the username and password input functions I inadvertently
[u/mdw/putty]
/
misc.c
diff --git
a/misc.c
b/misc.c
index
496d30e
..
e4c6d4a
100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-174,9
+174,9
@@
int bufchain_size(bufchain *ch)
return ch->buffersize;
}
-void bufchain_add(bufchain *ch, void *data, int len)
+void bufchain_add(bufchain *ch,
const
void *data, int len)
{
- c
har *buf = (
char *)data;
+ c
onst char *buf = (const
char *)data;
ch->buffersize += len;