Turn off https for Mac as well

While this works fine in the install directory I cannot seem to bundle
things in a way that the Subsurface.app is able to https.

Giving up and falling back to http for Mac as well.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-06-21 09:52:32 -07:00
parent ca35c528e2
commit 45881c7e73

View File

@ -369,10 +369,10 @@ int divelogde_upload(char *fn, char **error)
SoupSession *session;
SoupBuffer *sbuf;
gboolean ret = FALSE;
#ifdef __MINGW32__
#if __MINGW32__ || __APPLE__
/* for odd reasons I can't seem to get https connections to work
* with mingw32 when cross-building the Windows binaries... so fall
* back to http for now */
* with mingw32 when cross-building the Windows binaries and
* neither with bundled Mac binaries so fall back to http for now */
char url[256] = "http://divelogs.de/DivelogsDirectImport.php";
#else
char url[256] = "https://divelogs.de/DivelogsDirectImport.php";