client: we added argv lengths twice

This commit is contained in:
Daniel Eklöf 2020-11-21 20:46:08 +01:00
parent 0b3a84bd9c
commit 997c6a4ae3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -229,7 +229,6 @@ main(int argc, char *const *argv)
/* Total packet length, not (yet) including argv[] */ /* Total packet length, not (yet) including argv[] */
size_t total_len = ( size_t total_len = (
sizeof(data) + sizeof(data) +
argc * sizeof(uint16_t) +
cwd_len + cwd_len +
term_len + term_len +
title_len + title_len +