summaryrefslogtreecommitdiffstats
path: root/webservice.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-05-01 20:26:38 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-02 08:31:03 -0700
commite9ff76429ec34a6671ce4e4165bf84da728475fb (patch)
tree49b45bc374e6b9009b4b988287c51c325941dd12 /webservice.c
parent3b1c49e439edf06fb4206b2501c9d347421f8e81 (diff)
downloadsubsurface-e9ff76429ec34a6671ce4e4165bf84da728475fb.tar.gz
Do not display error message on cancel
Do not display error message when user cancels upload to divelogs.de. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.c')
-rw-r--r--webservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/webservice.c b/webservice.c
index c01b1a844..e582ad259 100644
--- a/webservice.c
+++ b/webservice.c
@@ -374,7 +374,7 @@ int divelogde_upload(char *fn, char **error)
if (readfile(fn, &mem) < 0)
return ret;
if (!divelogde_dialog(&user, &pass))
- return ret;
+ return TRUE;
sbuf = soup_buffer_new(SOUP_MEMORY_STATIC, mem.buffer, mem.size);
session = soup_session_async_new();
multipart = soup_multipart_new(SOUP_FORM_MIME_TYPE_MULTIPART);