Diff between 9dadaaf8d50447cc3accbcd726fac46d091f1ef6 and ea8dfdc5a17097172454883a8c183527620eef92

Changed Files

File Additions Deletions Status
obexd/plugins/nokia-backup.c +8 -0 modified

Full Patch

diff --git a/obexd/plugins/nokia-backup.c b/obexd/plugins/nokia-backup.c
index 4a69d8f..cf17e16 100644
--- a/obexd/plugins/nokia-backup.c
+++ b/obexd/plugins/nokia-backup.c
@@ -278,6 +278,13 @@ static ssize_t backup_write(void *object, const void *buf, size_t count)
 	return ret;
 }
 
+static int backup_flush(void *object)
+{
+	DBG("%p", object);
+
+	return 0;
+}
+
 static struct obex_mime_type_driver backup = {
 	.target = FTP_TARGET,
 	.target_size = TARGET_SIZE,
@@ -286,6 +293,7 @@ static struct obex_mime_type_driver backup = {
 	.close = backup_close,
 	.read = backup_read,
 	.write = backup_write,
+	.flush = backup_flush,
 };
 
 static int backup_init(void)