diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2024-02-02 13:31:17 +0100 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2024-02-02 13:31:17 +0100 |
| commit | cab15f605ef02eeea413f9db45d2ffa7f3d0172e (patch) | |
| tree | c178d9e83e23d845da5c0f131ce03a51bcf0b6d9 /src | |
| parent | 9a34bc1d03e7d1691a2811250d8e953c14033d35 (diff) | |
Minor changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/publisher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/publisher.c b/src/publisher.c index 36bc36b..a16628a 100644 --- a/src/publisher.c +++ b/src/publisher.c @@ -38,7 +38,7 @@ void askforbreak(char *break_file){ file = fopen(break_file, "r"); while(file){ printf("I am doing a break for %ds\n", BREAK_DURATION); - usleep(BREAK_DURATION * 1000000); + sleep(BREAK_DURATION); fclose(file); file = fopen(break_file, "r"); } |
