diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-03-13 20:37:38 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-13 20:37:38 -0700 |
commit | bd9f8ad7f84208f087e3209c35a5263f45879ce9 (patch) | |
tree | 48b42b2655b4bc88f95dfccb70a73eaefd77f89c /file.c | |
parent | 3e1098bd038a8568fd3a216b59b753dac59f45fa (diff) | |
download | subsurface-bd9f8ad7f84208f087e3209c35a5263f45879ce9.tar.gz |
First simplistic implementation of a divelogs.de upload
This has no user interface and hardcodes a testing username / password.
But it can successfully create a DLD file (thanks to Miika and Lubomir)
and then uses libsoup to upload that to the server.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ #define O_BINARY 0 #endif -static int readfile(const char *filename, struct memblock *mem) +int readfile(const char *filename, struct memblock *mem) { int ret, fd; struct stat st; |