summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Chua <jeff.chua.linux@gmail.com>2009-07-20 22:21:46 +0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-07-20 22:36:11 -0700
commita3f1f5f5b8b3a070de6d9510f588b39f5ebcc0fc (patch)
tree04c55034965e547f473c01a71cce083906e2d985
parent2f5bd6ea016a6405208c91c976a16a672cc04184 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdmcp.c b/xdmcp.c
index 35b4de5..7c91d1e 100644
--- a/xdmcp.c
+++ b/xdmcp.c
@@ -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;
}
}