rem: ptr = strstr(data, "&file=") + 6; snprintf(url->file, sizeof(url->file), ptr);
add: assert((ptr = strstr(data, "&file=") + 6)); ptr += 6;  snprintf(bar, sizeof(bar), ptr); foo = url_decode(bar); snprintf(url->file, sizeof(url->file), foo); free(foo);
context: OpnUrl *opn_url_unserialize(char *data){	OpnUrl *url;	char *ptr, *ptr2;	assert(data);	if (!(url = opn_url_new()))		return NULL;	sscanf(data, "OpenNap://%u:%hu@%u:%hu",	       &url->client.ip, &url->client.port,	       &url->server.ip, &url->server.port);	ptr = strstr(data, "user=") + 5;	ptr2 = strstr(data, "&size=") + 1;	snprintf(url->user, ptr2 - ptr, ptr);	url->size = strtoul(ptr2 + 5, NULL, 10);	ptr = strstr(data, "&file=") + 6;	snprintf(url->file, sizeof(url->file), ptr);	return url;}