exile_launch_get(): Remove redundant seek
这个提交包含在:
父节点
5cd0a36ced
当前提交
7b859d0aed
7
exile.c
7
exile.c
@ -1888,13 +1888,6 @@ char *exile_launch_get(struct exile_launch_params *launch_params, size_t *n)
|
||||
}
|
||||
}
|
||||
fclose(stream);
|
||||
int seek = fseek(stream, 0, SEEK_SET);
|
||||
if(seek == -1)
|
||||
{
|
||||
EXILE_LOG_ERROR("fseek failed\n");
|
||||
close(launch_result.read_fd);
|
||||
return NULL;
|
||||
}
|
||||
close(launch_result.read_fd);
|
||||
*n = size;
|
||||
return result;
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户