We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e8ac6 commit 1c627feCopy full SHA for 1c627fe
examples/server.c
@@ -230,8 +230,9 @@ int main(int argc, char const *argv[]) {
230
NULL)
231
: NULL;
232
/* support -b and -p for when a URL isn't provided */
233
- if (!fio_cli_get("-b"))
234
- fio_cli_set(fio_cli_get("-b"), fio_cli_unnamed(0));
+ if (!fio_cli_get("-b")) {
+ fio_cli_set("-b", fio_cli_unnamed(0));
235
+ }
236
if (fio_cli_get("-p")) {
237
fio_buf_info_s tmp = fio_cli_get_str("-b");
238
if (tmp.buf) {
0 commit comments