Commit cfb87774 authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix outgoing telnet expension

This is what was breaking uploads via telnet.  Not only was it sending
the unexpanded buffer, it was also sending the length of the expanded
buffer out of it (wandering into gibberish or at worst, outside of the
parent c3b82708
......@@ -326,8 +326,9 @@ int conn_send(const void *vbuffer, size_t buflen, unsigned int timeout)
found=conn_buf_wait_free(&conn_outbuf, obuflen, timeout);
found=conn_buf_put(&conn_outbuf, buffer, found);
if(found) {
found=conn_buf_put(&conn_outbuf, expanded, found);
if (conn_api.tx_parse_cb != NULL) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment