Uh, shouldn't that be sizeof(response) ?