summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2016-08-14 09:39:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-14 10:22:35 -0700
commit777cbd9cfe7cd026315bfcbac15126512a016a90 (patch)
treefc766dd92e36449f039e5694941a96b4d19c41a8 /xslt
parenta62e225e03d5f1118d4a29574517db69a8e8acb5 (diff)
downloadsubsurface-777cbd9cfe7cd026315bfcbac15126512a016a90.tar.gz
Fix cloud storage authentication attempt counting
The authentication count was a static counter in the authentication callback, which gets incremented until we consider the authentication to have failed. The problem with that is that it doesn't get incremented for just _one_ authentication operation, it gets incremented each time you try to load or save, so eventually the code considers authentication to have failed even if nothing ever went wrong. This fixes it by making it static to the whole git-access file, and have each operation clear it before starting a new remote access. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions