瀏覽代碼

Unneccessary branch

master
Jari Vetoniemi 10 年之前
父節點
當前提交
71834a55a3
共有 1 個檔案被更改,包括 1 行新增4 行删除
  1. +1
    -4
      bin/server.c

+ 1
- 4
bin/server.c 查看文件

@ -260,10 +260,7 @@ cb_read_hello(struct pi9 *pi9, struct node *node, uint64_t offset, uint32_t coun
// The bytes are returned with the read reply message.
// XXX: Just example here, we ignore offset and count
if (pi9_write("Hello World!", 1, sizeof("Hello World!"), pi9->out) != sizeof("Hello World!"))
return false;
return true;
return (pi9_write("Hello World!", 1, sizeof("Hello World!"), pi9->out) == sizeof("Hello World!"));
}
static bool

Loading…
取消
儲存