gopher: return an error on resource not found

This commit is contained in:
François Revol 2014-07-28 19:15:16 +02:00
parent 111d695ac0
commit e243a03476
1 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,8 @@
* gopher://jgw.mdns.org/1/MISC/ 's' item (sound)
* gopher://gopher.floodgap.com/1/gopher broken link
* gopher://sdf.org/1/maps/m missing lines
* gopher://sdf.org/1/foo gophernicus reports errors incorrectly
* gopher://gopher.floodgap.com/1/foo correct error report
*/
/** Type of Gopher items */
@ -310,7 +312,7 @@ BGopherRequest::_ProtocolLoop()
//if enough data
// else continue
fItemType = GOPHER_TYPE_DIRECTORY;
//readError = B_RESOURCE_NOT_FOUND;
readError = B_RESOURCE_NOT_FOUND;
// continue parsing the error text anyway
}
}