ソースを参照

For loop to nwelemn

master
Jari Vetoniemi 10年前
コミット
008ddf0117
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/pi9.c

+ 1
- 1
src/pi9.c ファイルの表示

@ -364,7 +364,7 @@ op_Twalk(struct pi9 *pi9, uint16_t tag, struct pi9_stream *stream)
goto err_not_allowed;
struct pi9_string walks[MAXWELEM] = {{0}};
for (uint32_t i = 0; i < MAXWELEM; ++i) {
for (uint32_t i = 0; i < nwname; ++i) {
uint16_t len;
if (!chck_buffer_read_int(&len, sizeof(len), &stream->in))
goto err_read;

読み込み中…
キャンセル
保存