Skip to content

Commit

Permalink
Revert previous patch. DSM_RC_COMPRESS_GREW is now considered fatal.
Browse files Browse the repository at this point in the history
Revision 1.6 is thus identical to revision 1.4.
http://www-01.ibm.com/support/docview.wss?uid=swg1IC64328
  • Loading branch information
ragge0 authored and ZNikke committed Apr 28, 2022
1 parent d626c1a commit 116624f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsmpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SOFTWARE.
*/

static const char rcsid[] = /*Add RCS version string to binary */
"$Id: tsmpipe.c,v 1.4 2008/08/28 15:03:10 nikke Exp nikke $";
"$Id: tsmpipe.c,v 1.4 2008/08/28 15:03:10 nikke Exp $";

/* Enable Large File Support stuff */
#define _FILE_OFFSET_BITS 64
Expand Down Expand Up @@ -369,14 +369,14 @@ int tsm_sendfile(dsUint32_t sesshandle, char *fsname, char *filename,
dataBlk.bufferPtr = buffer;

rc = dsmSendData(sesshandle, &dataBlk);
if(rc != DSM_RC_OK && rc != DSM_RC_COMPRESS_GREW) {
if(rc != DSM_RC_OK) {
tsm_printerr(sesshandle, rc, "dsmSendData failed");
return 0;
}
}

rc = dsmEndSendObj(sesshandle);
if(rc != DSM_RC_OK && rc != DSM_RC_COMPRESS_GREW) {
if(rc != DSM_RC_OK) {
tsm_printerr(sesshandle, rc, "dsmEndSendObj failed");
return(0);
}
Expand Down

0 comments on commit 116624f

Please sign in to comment.