ObjFW  Diff

Differences From Artifact [ab819ab9fe]:

To Artifact [814de8c246]:


200
201
202
203
204
205
206
207
208
209
210
211
212






213
214
215
216
217
218
219
200
201
202
203
204
205
206






207
208
209
210
211
212
213
214
215
216
217
218
219







-
-
-
-
-
-
+
+
+
+
+
+







		[of_stdout writeString: OF_LOCALIZED(@"progress_kib",
		    @"%[num] KiB",
		    @"num", num)];
	} else {
		OFString *num = [OFString stringWithFormat:
		    @"%jd", _resumedFrom + _received];
		[of_stdout writeString: OF_LOCALIZED(@"progress_bytes",
		    [@"["
		     @"    ["
		     @"        {'num == 1': '1 byte '},"
		     @"        {'': '%[num] bytes'}"
		     @"    ]"
		     @"]" JSONValue],
		    @"["
		    @"    ["
		    @"        {'num == 1': '1 byte '},"
		    @"        {'': '%[num] bytes'}"
		    @"    ]"
		    @"]".objectByParsingJSON,
		    @"num", num)];
	}

	[of_stdout writeString: @" "];

	if (_stopped)
		_BPS = (float)_received /