From ba197006a5ffcb26f1cb3c07c7db132bbf66a675 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 18 Jul 2024 15:55:50 -0400 Subject: [PATCH] Do not upload/download any entries if the client and server time are more than 30 seconds out of sync; appropriately warn the user --- libmuttonserver.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libmuttonserver.go b/libmuttonserver.go index d5535c7..97d8645 100644 --- a/libmuttonserver.go +++ b/libmuttonserver.go @@ -3,12 +3,13 @@ package main import ( "bufio" "fmt" - "github.com/rwinkhart/MUTN/src/backend" - "github.com/rwinkhart/MUTN/src/cli" - "github.com/rwinkhart/MUTN/src/sync" "os" "strconv" "strings" + + "github.com/rwinkhart/MUTN/src/backend" + "github.com/rwinkhart/MUTN/src/cli" + "github.com/rwinkhart/MUTN/src/sync" ) func main() {