All pastes #142243 Raw Edit

Untitled

public text v1 · immutable
#142243 ·published 2006-08-21 10:55 UTC
rendered paste body
WCHAR * buf;
WCHAR * foo;
buf = malloc(3 * sizeof(WCHAR));
if (buf != NULL) {
	if (lstrcpyW(buf, bob) != 0) {
		foo = buf + 5;
		if (lstrcatW(foo + 3, L"suffix")) {
			/* SUCCESS! */
		}
	}
	free(buf);
}