Diff between c0cf2c5f4bb3af88f34c380549871c5f5ac3b5e1 and e067a89594c4337f886055eb8d7d8e9f4444c126

Changed Files

File Additions Deletions Status
obexd/src/obex.c +2 -1 modified

Full Patch

diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 15f58d3..37f1020 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -470,7 +470,8 @@ gint os_prepare_put(struct obex_session *os)
 
 	g_free(path);
 
-	emit_transfer_started(os->cid);
+	if (os->target == NULL)
+		emit_transfer_started(os->cid);
 
 	if (!os->buf) {
 		debug("PUT request checked, no buffered data");