[X2Go-Commits] [libx2goclient] 132/132: src/x2goclient-{{network-ssh, openssh-version}.h, network.c}: work around spurious newlines in documentation by using HTML/XML comments.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 3 15:26:38 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 43aa373d0793f004a0a19655bd3eda555b6fc50c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Dec 3 13:51:20 2021 +0100

    src/x2goclient-{{network-ssh,openssh-version}.h,network.c}: work around spurious newlines in documentation by using HTML/XML comments.
---
 src/x2goclient-network-ssh.h     | 5 +++--
 src/x2goclient-network.c         | 8 ++++----
 src/x2goclient-openssh-version.h | 5 ++++-
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/x2goclient-network-ssh.h b/src/x2goclient-network-ssh.h
index f47bcea..75db63a 100644
--- a/src/x2goclient-network-ssh.h
+++ b/src/x2goclient-network-ssh.h
@@ -58,8 +58,9 @@ X2GoClientNetworkSSH* x2goclient_network_ssh_new (const gchar * const session_pa
  *                                                   type.
  * @X2GOCLIENT_NETWORK_SSH_ERROR_PORT_CONV_TOO_BIG: port value to parse was
  *                                                  bigger than allowed by
- *                                                  common port specifications
- *                                                  <constant><!--
+ *                                                  common port
+ *                                                  specifications <!--
+ *                                                  --><constant><!--
  *                                                    -->65535<!--
  *                                                  --></constant>.
  * @X2GOCLIENT_NETWORK_SSH_ERROR_PORT_CONV_NEGATIVE_ZERO: port value to parse
diff --git a/src/x2goclient-network.c b/src/x2goclient-network.c
index 42191d8..e7b2c86 100644
--- a/src/x2goclient-network.c
+++ b/src/x2goclient-network.c
@@ -66,16 +66,16 @@
  *           derived classes. Check the in-line documentation within the class
  *           structure for further information.
  * @derived_connect: pointer to the derived class's connect function, must be
- *                   set manually by the derived class in its
- *                   <code>class_init</code> function. Check the in-line
+ *                   set manually by the derived class in its <!--
+ *                   --><code>class_init</code> function. Check the in-line
  *                   documentation within the class structure for further
  *                   information.
  * @disconnect: pointer to the current class's disconnect function, useful for
  *              derived classes. Check the in-line documentation within the
  *              class structure for further information.
  * @derived_disconnect: pointer to the derived class's disconnect function,
- *                      must be set manually by the derived class in its
- *                      <code>class_init</code> function. Check the in-line
+ *                      must be set manually by the derived class in its <!--
+ *                      --><code>class_init</code> function. Check the in-line
  *                      documentation within the class structure for further
  *                      information.
  *
diff --git a/src/x2goclient-openssh-version.h b/src/x2goclient-openssh-version.h
index f906936..1fec910 100644
--- a/src/x2goclient-openssh-version.h
+++ b/src/x2goclient-openssh-version.h
@@ -65,7 +65,10 @@ void x2goclient_openssh_version_free (X2GoClientOpenSSHVersion * const openssh_v
  *                                                           information from
  *                                                           passed.
  * @X2GOCLIENT_OPENSSH_VERSION_ERROR_INVALID_PREAMBLE: version string does not
- *                                                     begin with "OpenSSH_".
+ *                                                     begin with
+ *                                                     <literal><!--
+ *                                                       -->OpenSSH_<!--
+ *                                                     --></literal>.
  * @X2GOCLIENT_OPENSSH_VERSION_ERROR_NO_MAJOR_SEPARATOR: no dot found
  *                                                       separating the major
  *                                                       version number from

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list