1
0
mirror of https://github.com/ksherlock/gopher.git synced 2025-03-09 09:30:07 +00:00

fix return value

This commit is contained in:
Kelvin Sherlock 2012-09-10 20:50:09 -04:00
parent 394aa110c7
commit 9f570ffc82

@ -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;