summarylogtreecommitdiffstats
path: root/cbytestream.patch
blob: a3a376e0505e786cb6f46694c4972c86aa77209e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/common/CBytestream.cpp.orig	2019-01-26 20:45:40.086373395 +0100
+++ src/common/CBytestream.cpp	2019-01-26 20:45:59.482914532 +0100
@@ -314,7 +314,7 @@
 char *CBytestream::readString(char *str, size_t maxlen)
 {
 	if (!str)
-		return false;
+		return "false";
 
 	// Validate that there is some terminating character
 	bool valid = false;