mirror of
https://github.com/ksherlock/gopher.git
synced 2024-10-31 09:05:00 +00:00
fix return value
This commit is contained in:
parent
394aa110c7
commit
9f570ffc82
@ -180,7 +180,7 @@ int ReadLine2(Word ipid, rlBuffer *buffer)
|
|||||||
|
|
||||||
hsize = size + tlen;
|
hsize = size + tlen;
|
||||||
h = NewHandle(hsize, ur->uwUserID, attrNoSpec | attrLocked, 0);
|
h = NewHandle(hsize, ur->uwUserID, attrNoSpec | attrLocked, 0);
|
||||||
if (_toolErr) return tcperrNoResources;
|
if (_toolErr) return -1; //tcperrNoResources;
|
||||||
|
|
||||||
buffer->bufferSize = size;
|
buffer->bufferSize = size;
|
||||||
buffer->bufferHandle = h;
|
buffer->bufferHandle = h;
|
||||||
|
Loading…
Reference in New Issue
Block a user