mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Simplification.
This commit is contained in:
parent
afb45aace5
commit
ea2d7a3325
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user