diff options
author | Jeff Chua <jeff.chua.linux@gmail.com> | 2009-07-20 22:21:46 +0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-07-20 22:36:11 -0700 |
commit | a3f1f5f5b8b3a070de6d9510f588b39f5ebcc0fc (patch) | |
tree | 04c55034965e547f473c01a71cce083906e2d985 | |
parent | 2f5bd6ea016a6405208c91c976a16a672cc04184 (diff) |
xdm compile failed due to asprintf()
xdm no longer compiles due to recent commit
56a14b8a1f4d3aa883485b794c818581b8f07cd8 that changed to use asprintf().
There is an additional right-bracket that causes the problem.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -706,7 +706,7 @@ NetworkAddressToName( if (asprintf(&name, "%d.%d.%d.%d:%d", data[0], data[1], data[2], data[3], - displayNumber) < 0)) { + displayNumber) < 0) { return NULL; } } |