This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository libx2goclient. from 8491443 src/x2goclient-network-ssh.c: add debugging output for check thread main function. new 1e673c0 src/x2goclient-utils.c: whitespace in function declaration only. new 21aaac1 src/x2goclient-utils.c: truncation size in x2goclient_strbrk_dup () should not be further decremented. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/x2goclient-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient. commit 1e673c09cb97b3ca04b9c58ca7dc65640e8fdad3 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Sep 18 02:48:22 2020 +0200 src/x2goclient-utils.c: whitespace in function declaration only. --- src/x2goclient-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c index d1ac734..6ee33c6 100644 --- a/src/x2goclient-utils.c +++ b/src/x2goclient-utils.c @@ -193,7 +193,7 @@ long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool m * original string) if @needle was not found, unless an error * occurred */ -gchar* x2goclient_strbrk_dup (gchar *restrict * const haystack, const char needle, const _Bool free_orig, gsize * const new_size) { +gchar* x2goclient_strbrk_dup (gchar * restrict * const haystack, const char needle, const _Bool free_orig, gsize * const new_size) { gchar *ret = NULL; g_return_val_if_fail (((NULL != haystack) && (NULL != *haystack)), ret); -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient. commit 21aaac171e1168241c951ff68ccc964e3ce66751 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Sep 18 02:55:07 2020 +0200 src/x2goclient-utils.c: truncation size in x2goclient_strbrk_dup () should not be further decremented. The needle position actually is the remaining string size, so don't decrement it again. --- src/x2goclient-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c index 6ee33c6..6ef4c1e 100644 --- a/src/x2goclient-utils.c +++ b/src/x2goclient-utils.c @@ -209,7 +209,7 @@ gchar* x2goclient_strbrk_dup (gchar * restrict * const haystack, const char need /* Since needle was found, the difference must be at least one. */ g_assert (needle_pos - *haystack); - gsize truncate_size = ((needle_pos - *haystack) - 1); + gsize truncate_size = (needle_pos - *haystack); /* Don't copy the needle. */ ret = g_strndup (*haystack, truncate_size); -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git