Update boo

This commit is contained in:
Jack Andersen 2017-01-18 23:01:54 -10:00
parent 89be8344e7
commit 7326f01b5b
2 changed files with 3 additions and 1 deletions

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit f0e8e0a1fac69a7a3e67ced0dc80915701ff1183 Subproject commit 65f8302060b8e3992d0924bd065020df590ca12f

View File

@ -107,11 +107,13 @@ uint32_t BlenderConnection::_readStr(char* buf, uint32_t bufSz)
return 0; return 0;
} }
else if (readLen >= 4) else if (readLen >= 4)
{
if (!memcmp(buf, "EXCEPTION", std::min(readLen, uint32_t(9)))) if (!memcmp(buf, "EXCEPTION", std::min(readLen, uint32_t(9))))
{ {
_blenderDied(); _blenderDied();
return 0; return 0;
} }
}
*(buf+readLen) = '\0'; *(buf+readLen) = '\0';
return readLen; return readLen;