ossp-pkg/xds/xds_engine_xdr.c 1.15 -> 1.16
--- xds_engine_xdr.c 2004/09/12 17:32:14 1.15
+++ xds_engine_xdr.c 2005/06/02 18:43:06 1.16
@@ -696,7 +696,7 @@
/* Copy data into the buffer. */
memmove(*p, (xds_uint8_t *)buffer + 4, p_len);
- ((xds_uint8_t *)buffer)[4 + p_len] = '\0';
+ (*p)[p_len] = '\0';
return XDS_OK;
}
|
|