diff options
| author | wangmenglan <[email protected]> | 2023-12-22 18:36:42 +0800 |
|---|---|---|
| committer | wangmenglan <[email protected]> | 2023-12-22 18:36:42 +0800 |
| commit | dc452792e6886750af698e999c2a059d43d0606d (patch) | |
| tree | 5930441d9d6d97ea4cf2129b8ce0137d8fe5c843 | |
| parent | cb33c3d5a10db8cb3dcdb83b9375c7c9bb586f99 (diff) | |
bugfix: Correct the error in the conditional statement.v4.6.66-20231222
| -rw-r--r-- | service/src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/app.c b/service/src/app.c index 3d3f537..bd17fa8 100644 --- a/service/src/app.c +++ b/service/src/app.c @@ -100,7 +100,7 @@ void * apps_survival_monitor(void * arg) { char buf[64]; int n = read(fd, buf, sizeof(buf)); - if (n = 0) + if (n == 0) __deconstruct_app(app_iter); } } |
