ObjFW  Diff

Differences From Artifact [c9b26460ed]:

To Artifact [c3c573eb68]:


318
319
320
321
322
323
324
325
326


327
328
329
330
331
332
333
318
319
320
321
322
323
324


325
326
327
328
329
330
331
332
333







-
-
+
+







}

- replaceOccurrencesOfString: (OFString*)str
		  withString: (OFString*)repl
{
	const char *str_c = [str cString];
	const char *repl_c = [repl cString];
	size_t str_len = [str length];
	size_t repl_len = [repl length];
	size_t str_len = [str cStringLength];
	size_t repl_len = [repl cStringLength];
	size_t i, last, tmp_len;
	char *tmp;

	if (str_len > length)
		return self;

	tmp = NULL;