[X2Go-Commits] [nx-libs] 174/429: Atoms.c: cosmetics in nxagentWriteAtom()
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:24 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit e991dbae988766707e9506ec08d5682416f6eb4a
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Mon Aug 3 16:26:12 2020 +0200
Atoms.c: cosmetics in nxagentWriteAtom()
---
nx-X11/programs/Xserver/hw/nxagent/Atoms.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index af8b31dfd..2daad061e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -405,12 +405,13 @@ static void nxagentWriteAtom(Atom local, XlibAtom remote, const char *string)
#ifdef WARNING
if (s == NULL)
{
- fprintf(stderr, "nxagentWriteAtom: Malloc failed.\n");
+ fprintf(stderr, "%s: Malloc failed.\n", __func__);
}
#endif
if (privLastAtom == privAtomMapSize)
{
+ /* will issue a fatal error, therefore no further check here */
nxagentExpandCache();
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list