This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient.
commit 301ce5c8018899e2d7013b92be4389331af76316 Author: Mihai Moldovan <io...@ionic.de> Date: Fri May 29 10:52:21 2020 +0200 src/x2goclient-network-ssh.c: fix weird grammar in comment, non-functional change. --- src/x2goclient-network-ssh.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c index 054d9ac..e2e4cc8 100644 --- a/src/x2goclient-network-ssh.c +++ b/src/x2goclient-network-ssh.c @@ -1047,9 +1047,11 @@ static gboolean x2goclient_network_ssh_fetch_openssh_version (X2GoClientNetworkS * * That's not really a problem if the string actually is to be * truncated, since in that case the result will be smaller than the - * original string anyway, but a huge problem if the string small. + * original string anyway, but a problem if the size is huge, but the + * string small. * - * In the latter case, we don't want to create a useless 2 GiB string. + * In the latter case, we don't want to create a useless 2 GiB (bounded + * by INT_MAX) string for a string that is actually quite small. * * Interestingly, POSIX describes strndup as allocating memory "as if * by using malloc ()", but doesn't mention the actual resulting size. -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits