--- xds-getbuffer.c 2001/07/16 17:50:08 1.3
+++ xds-getbuffer.c 2001/07/18 19:00:40 1.4
@@ -67,22 +67,22 @@
if (xds_encode(xds, "text text") != XDS_OK)
{
- printf("xds_encode() failed!");
+ printf("xds_encode() failed!\n");
return 1;
}
if (xds_getbuffer(xds, XDS_GIFT, (void**)&old, &old_len) != XDS_OK)
{
- printf("xds_getbuffer() failed for the first buffer!");
+ printf("xds_getbuffer() failed for the first buffer!\n");
return 1;
}
if (xds_encode(xds, "text") != XDS_OK)
{
- printf("xds_encode() failed!");
+ printf("xds_encode() failed!\n");
return 1;
}
if (xds_getbuffer(xds, XDS_GIFT, (void**)&new, &new_len) != XDS_OK)
{
- printf("xds_getbuffer() failed for the second buffer!");
+ printf("xds_getbuffer() failed for the second buffer!\n");
return 1;
}
if ((strcmp(old, "Hallo!Hallo!") != 0 || old_len != 12) &&
@@ -100,12 +100,12 @@
if (xds_encode(xds, "text text") != XDS_OK)
{
- printf("xds_encode() failed!");
+ printf("xds_encode() failed!\n");
return 1;
}
if (xds_getbuffer(xds, XDS_LOAN, (void**)&old, &old_len) != XDS_OK)
{
- printf("xds_getbuffer() failed for the first buffer!");
+ printf("xds_getbuffer() failed for the first buffer!\n");
return 1;
}
if (strcmp(old, "Hallo!Hallo!") != 0 || old_len != 12)
@@ -115,12 +115,12 @@
}
if (xds_encode(xds, "text") != XDS_OK)
{
- printf("xds_encode() failed!");
+ printf("xds_encode() failed!\n");
return 1;
}
if (xds_getbuffer(xds, XDS_LOAN, (void**)&new, &new_len) != XDS_OK)
{
- printf("xds_getbuffer() failed for the second buffer!");
+ printf("xds_getbuffer() failed for the second buffer!\n");
return 1;
}
if (old != new)
|