commit ef855d00e1f3a1931ccb9fcacb1b522e10e34865
parent 3dd0bdd2abe11a1b84fd06dab9d88f063757d4d6
Author: Pavel Renev <an2qzavok@gmail.com>
Date: Mon, 28 Feb 2022 21:51:15 +0000
stop erring on f->aux == nil
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs.c b/fs.c
@@ -110,7 +110,7 @@ fs_write(Req *r)
nbsend(redrawc, nil);
}
else respond(r, "no write");
- } else respond(r, "fs_write: f->aux is nil");
+ } else respond(r, nil);
}
void
@@ -124,7 +124,7 @@ fs_stat(Req *r)
r->d.length = aux->data->count;
respond(r, nil);
}
- } else respond(r, "fs_stat: f->aux is nil");
+ } else respond(r, nil);
}
void
@@ -141,7 +141,7 @@ delayedread(Req *r)
if (aux != nil) {
if (aux->read != nil) aux->read(r);
else respond(r, "no read");
- } else respond(r, "fs_read: f->aux is nil");
+ } else respond(r, nil);
}
void