summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch')
-rw-r--r--meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch b/meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch
new file mode 100644
index 000000000..8b73af32e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/obexftp/obexftp/Remove_some_printf_in_obexftpd.patch
@@ -0,0 +1,34 @@
1Signed-off-by: Jun Zhu <R01007@freescale.com>
2
3Upstream-Status: Not applicable
4
5diff -Nru obexftp-0.23/apps.orig/obexftpd.c obexftp-0.23/apps/obexftpd.c
6--- obexftp-0.23/apps.orig/obexftpd.c 2013-11-08 10:42:20.816631583 +0800
7+++ obexftp-0.23/apps/obexftpd.c 2013-11-08 10:44:18.628634893 +0800
8@@ -639,7 +639,7 @@
9 struct stat statbuf;
10 //char *namebuf = NULL;
11
12- fprintf(stderr, "put_done>>>\n");
13+ //fprintf(stderr, "put_done>>>\n");
14 while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen)) {
15 switch(hi) {
16 case OBEX_HDR_BODY:
17@@ -671,7 +671,7 @@
18 }
19 }
20 if(!body) {
21- printf("Got a PUT without a body\n");
22+ //printf("Got a PUT without a body\n");
23 OBEX_ObjectSetRsp(object, OBEX_RSP_CONTINUE, OBEX_RSP_SUCCESS);
24 }
25 if(!name) {
26@@ -807,7 +807,7 @@
27
28 switch(obex_cmd) {
29 case OBEX_CMD_PUT:
30- fprintf(stderr, "obex_ev_progress: obex_cmd_put\n");
31+ //fprintf(stderr, "obex_ev_progress: obex_cmd_put\n");
32 put_done(handle, obj, 0);
33 break;
34 default: