Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | Signed-off-by: Jun Zhu <R01007@freescale.com> |
| 2 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 3 | Upstream-Status: Inappropriate [embedded specific] |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | |
| 5 | diff -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: |