Report error string for libsoup connection to divelogs.de

Just reporting a default string that something went wrong is kind of
pointless...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-11 21:04:07 -07:00
parent a55fa0ea9c
commit 4dfaccccb3
3 changed files with 4 additions and 1 deletions

View file

@ -1478,7 +1478,7 @@ static void upload_dives_divelogs(const gboolean selected)
}
zip_close(zip);
if (!divelogde_upload(tempfile, &error)) {
error = strdup(_("Communication error with divelogs.de"));
/* error = strdup(_("Communication error with divelogs.de")); */
type = GTK_MESSAGE_ERROR;
} else {
/* The upload status XML message should be parsed