Diff between 3e9617fcd8f9bf1c5fc6cc7b88f408b4131f7a14 and bb160515185e6fdcfb57e327a4a3224f80eab2c9

Changed Files

File Additions Deletions Status
obexd/src/obex.c +3 -0 modified

Full Patch

diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index a4bae85..ed219d3 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -779,6 +779,9 @@ int obex_put_stream_start(struct obex_session *os, const char *filename)
 		return err;
 	}
 
+	if (os->size != OBJECT_SIZE_DELETE && os->size != OBJECT_SIZE_UNKNOWN)
+		manager_emit_transfer_property(os->service_data, "Size");
+
 	os->path = g_strdup(filename);
 
 	return 0;