aboutsummaryrefslogtreecommitdiff
path: root/client/libacron/apps
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2022-07-25 14:47:04 -0700
committerTrumeet <yuuta@yuuta.moe>2022-07-25 14:47:04 -0700
commit219e4bb54375995fa377a1bcf9601a77cf6f1fee (patch)
tree8553a4d24bfb6d2c7197f16aa7ff6d434da13192 /client/libacron/apps
parent8f07d4ee8f345feb36c4f1c99eea2fe4f1cdf6e3 (diff)
downloadacron-219e4bb54375995fa377a1bcf9601a77cf6f1fee.tar
acron-219e4bb54375995fa377a1bcf9601a77cf6f1fee.tar.gz
acron-219e4bb54375995fa377a1bcf9601a77cf6f1fee.tar.bz2
acron-219e4bb54375995fa377a1bcf9601a77cf6f1fee.zip
feat(libacron): support force disconnecting without writing anything
API:CHANGE Signed-off-by: Trumeet <yuuta@yuuta.moe>
Diffstat (limited to 'client/libacron/apps')
-rw-r--r--client/libacron/apps/helloworld/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/libacron/apps/helloworld/main.c b/client/libacron/apps/helloworld/main.c
index 6201fac..c112fcb 100644
--- a/client/libacron/apps/helloworld/main.c
+++ b/client/libacron/apps/helloworld/main.c
@@ -356,7 +356,7 @@ int main(int argc, char **argv) {
}
}
if ((r = lock())) { goto end; }
- ac_disconnect(connection);
+ ac_disconnect(connection, false);
if ((r = unlock())) { goto end; }
net_close(&sock);
ac_free();