Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209520 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/getstat.c (-1 / +1 lines)
Lines 85-91 char* str_extract(const char* src, const char* start_tag, const char* end_tag, c Link Here
85
		p_end = strstr(p_start, end_tag);
85
		p_end = strstr(p_start, end_tag);
86
		if (p_end)
86
		if (p_end)
87
		{
87
		{
88
			len = (int)p_end - (int)p_start;
88
			len = p_end - p_start;
89
			memcpy(result, p_start, len);
89
			memcpy(result, p_start, len);
90
			result[len] = '\0';
90
			result[len] = '\0';
91
		}
91
		}

Return to bug 209520