From a7d63bb8a70ac6224df89f5ea09f5da08d94764c Mon Sep 17 00:00:00 2001 From: asfernandes Date: Mon, 8 Dec 2008 00:26:06 +0000 Subject: [PATCH] Misc --- src/common/classes/UserBlob.h | 8 +------- src/misc/codes.epp | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/common/classes/UserBlob.h b/src/common/classes/UserBlob.h index 6d551f6b10..3f27882276 100644 --- a/src/common/classes/UserBlob.h +++ b/src/common/classes/UserBlob.h @@ -40,8 +40,7 @@ public: USHORT bpb_len, const UCHAR* bpb); bool close(bool force_internal_SV = false); bool getSegment(size_t len, void* buffer, size_t& real_len); - bool getData(size_t len, void* buffer, size_t& real_len); - bool getData(size_t len, void* buffer, size_t& real_len, bool use_sep, const UCHAR separator); + bool getData(size_t len, void* buffer, size_t& real_len, bool use_sep = false, const UCHAR separator = '\0'); bool putSegment(size_t len, const void* buffer); bool putSegment(size_t len, const void* buffer, size_t& real_len); bool putData(size_t len, const void* buffer); @@ -103,11 +102,6 @@ inline bool UserBlob::putData(size_t len, const void* buffer) return putData(len, buffer, dummy); } -inline bool UserBlob::getData(size_t len, void* buffer, size_t& real_len) -{ - return getData(len, buffer, real_len, false, '\0'); -} - bool getBlobSize( const UserBlob& b, SLONG* size, SLONG* seg_count, diff --git a/src/misc/codes.epp b/src/misc/codes.epp index b1912a8849..2f4539fef4 100644 --- a/src/misc/codes.epp +++ b/src/misc/codes.epp @@ -247,7 +247,7 @@ static const SCHAR *ftn_boiler_plate_data[] = { " + GDS_ARG_VMS = 6, { VAX/VMS status code (long) }", " + GDS_ARG_UNIX = 7, { UNIX error code }", " + GDS_ARG_DOMAIN = 8, { Apollo/Domain error code }", - " + GDS_ARG_DOS = 9) { Apollo/Domain error code }", + " + GDS_ARG_DOS = 9) { Apollo/Domain error code }", "", };