ObjFW  Check-in [58fea9d1b2]

Overview
Comment:OFStream: Fix indentation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 58fea9d1b2a1e7cd3d7d9a4356455d8ee3b878a69d3b868eabc1e2f7e4de4d8c
User & Date: js on 2023-12-28 01:21:06
Original Comment: OFStream: Fix indentatio
Other Links: manifest | tags
Context
2023-12-29
15:53
OFDNSResolver: Cache responses check-in: 252f11c431 user: js tags: trunk
2023-12-28
01:21
OFStream: Fix indentation check-in: 58fea9d1b2 user: js tags: trunk
2023-12-27
22:00
configure: Add AC_PROG_EGREP to fix autoconf 2.72 check-in: 52f3943aae user: js tags: trunk
Changes

Modified src/OFStream.m from [be4eb53104] to [dad1270707].

702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
			if (j == delimiterLength || _readBuffer[i] == '\0') {
				if (_readBuffer[i] == '\0')
					delimiterLength = 1;

				ret = [OFString
				    stringWithCString: _readBuffer
					     encoding: encoding
					      length: i + 1 - delimiterLength];

				_readBuffer += i + 1;
				_readBufferLength -= i + 1;

				_waitingForDelimiter = false;
				return ret;
			}







|







702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
			if (j == delimiterLength || _readBuffer[i] == '\0') {
				if (_readBuffer[i] == '\0')
					delimiterLength = 1;

				ret = [OFString
				    stringWithCString: _readBuffer
					     encoding: encoding
					       length: i + 1 - delimiterLength];

				_readBuffer += i + 1;
				_readBufferLength -= i + 1;

				_waitingForDelimiter = false;
				return ret;
			}