diff options
author | Damien Miller <djm@mindrot.org> | 2014-05-15 13:48:26 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-05-15 13:48:26 +1000 |
commit | 633de33b192d808d87537834c316dc8b75fe1880 (patch) | |
tree | 54d456735ab7e2848dc8df5eba9c3dbb314b29e1 /channels.c | |
parent | 15271907843e4ae50dcfc83b3594014cf5e9607b (diff) |
- djm@cvs.openbsd.org 2014/04/28 03:09:18
[authfile.c bufaux.c buffer.h channels.c krl.c mux.c packet.c packet.h]
[ssh-keygen.c]
buffer_get_string_ptr's return should be const to remind
callers that futzing with it will futz with the actual buffer
contents
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c index 9efe89c9c..1020071ff 100644 --- a/channels.c +++ b/channels.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.c,v 1.331 2014/02/26 20:29:29 djm Exp $ */ | 1 | /* $OpenBSD: channels.c,v 1.332 2014/04/28 03:09:18 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2315,7 +2315,7 @@ void | |||
2315 | channel_input_data(int type, u_int32_t seq, void *ctxt) | 2315 | channel_input_data(int type, u_int32_t seq, void *ctxt) |
2316 | { | 2316 | { |
2317 | int id; | 2317 | int id; |
2318 | char *data; | 2318 | const u_char *data; |
2319 | u_int data_len, win_len; | 2319 | u_int data_len, win_len; |
2320 | Channel *c; | 2320 | Channel *c; |
2321 | 2321 | ||