summaryrefslogtreecommitdiff
path: root/lib/libXdmcp/RA8.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 17:53:32 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 17:53:32 +0000
commita250a71b04201b2df632b56f7c4c17d7cc7a6e4d (patch)
tree8f8294c349bf0494cd3c604efbc09a016d1aa30f /lib/libXdmcp/RA8.c
parent0d2f28efc0fc1ed84fbdd2f337634861698bc009 (diff)
Update to libXdmcp 1.0.3
Diffstat (limited to 'lib/libXdmcp/RA8.c')
-rw-r--r--lib/libXdmcp/RA8.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libXdmcp/RA8.c b/lib/libXdmcp/RA8.c
index eee3c6b3b..b4478960a 100644
--- a/lib/libXdmcp/RA8.c
+++ b/lib/libXdmcp/RA8.c
@@ -36,9 +36,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xdmcp.h>
int
-XdmcpReadARRAY8 (buffer, array)
- XdmcpBufferPtr buffer;
- ARRAY8Ptr array;
+XdmcpReadARRAY8 (XdmcpBufferPtr buffer, ARRAY8Ptr array)
{
int i;
@@ -47,7 +45,7 @@ XdmcpReadARRAY8 (buffer, array)
/* Must set array->data to NULL to guarantee safe call of
* XdmcpDisposeARRAY*(array) (which calls Xfree(array->data));
* see defect 7329 */
- array->data = 0;
+ array->data = NULL;
return FALSE;
}
if (!array->length)