--- obexftp-0.10.6/apps/obexftp.c +++ obexftp-0.10.6/apps/obexftp.c @@ -403,13 +403,13 @@ break; case 'V': - printf("ObexFTP 0.10.4\n"); + printf("ObexFTP 0.10.6\n"); most_recent_cmd = 'h'; // not really break; case 'h': case 'u': - printf("ObexFTP 0.10.4\n"); + printf("ObexFTP 0.10.6\n"); printf("Usage: %s [-i | -b [-B ] | -t ] [-l ...] [-c ]\n" "[-g ...] [-p ...] [-k ...] [-x] [-m ...]\n" "Transfer files from/to Mobile Equipment.\n" --- obexftp-0.10.6/obexftp/object.c +++ obexftp-0.10.6/obexftp/object.c @@ -200,7 +200,7 @@ if (create == 0) { // set the 'Don't Create' bit - setpath_nohdr_data[1] ^= 2; + setpath_nohdr_data[0] ^= 2; } if (name) { ucname_len = strlen(name)*2 + 2;