1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Simplification.

This commit is contained in:
witekfl 2006-01-25 20:19:55 +01:00 committed by
parent afb45aace5
commit ea2d7a3325

View File

@ -673,11 +673,7 @@ delayed_goto_uri_frame(void *data)
if (frame)
goto_uri_frame(deo->ses, deo->uri, frame->name, CACHE_MODE_NORMAL);
else {
static unsigned char buf[256];
strncpy(buf, deo->target, 256);
buf[255] = '\0';
goto_uri_frame(deo->ses, deo->uri, buf, CACHE_MODE_NORMAL);
goto_uri_frame(deo->ses, deo->uri, NULL, CACHE_MODE_NORMAL);
}
done_uri(deo->uri);
mem_free(deo->target);