ossp-pkg/xds/encode.c 1.1 -> 1.2
--- encode.c 2001/07/04 15:58:51 1.1
+++ encode.c 2001/07/09 17:19:58 1.2
@@ -29,5 +29,10 @@
int xds_encode(xds_t* xds, const char* fmt, ...)
{
- return XDS_ERR_INVALID_ARG;
+ int rc;
+ va_list args;
+ va_start(args, fmt);
+ rc = xds_vencode(xds, fmt, args);
+ va_end(args);
+ return rc;
}
|
|