summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/publisher.c2
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");
}