Skip to content

Commit

Permalink
fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ksherlock committed Sep 11, 2012
1 parent 394aa11 commit 9f570ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readline2.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int ReadLine2(Word ipid, rlBuffer *buffer)

hsize = size + tlen;
h = NewHandle(hsize, ur->uwUserID, attrNoSpec | attrLocked, 0);
if (_toolErr) return tcperrNoResources;
if (_toolErr) return -1; //tcperrNoResources;

buffer->bufferSize = size;
buffer->bufferHandle = h;
Expand Down

0 comments on commit 9f570ff

Please sign in to comment.