Bug#285581: obexftp: patch for this problem
Package: obexftp
Version: 0.10.6-1.1
Followup-For: Bug #285581
The following patch fixes this bug:
----------------------------snip-------------------------------------
-- obexftp/client.c.orig 2004-11-20 23:05:51.000000000 +0100
+++ obexftp/client.c 2004-12-21 22:09:34.000000000 +0100
@@ -346,16 +346,8 @@ obexftp_client_t *obexftp_cli_open(int t
#ifdef DEBUG_TCP
cli->obexhandle = OBEX_Init(OBEX_TRANS_INET, cli_obex_event, 0);
#else
- if ( ctrans ) {
- DEBUG(2, "Do the cable-OBEX!\n");
- cli->obexhandle = OBEX_Init(OBEX_TRANS_CUSTOM, cli_obex_event, 0);
- }
- else
-#ifdef HAVE_BLUETOOTH
- cli->obexhandle = OBEX_Init(OBEX_TRANS_BLUETOOTH, cli_obex_event, 0);
-#else
- cli->obexhandle = OBEX_Init(OBEX_TRANS_IRDA, cli_obex_event, 0);
-#endif
+ if ( ctrans ) DEBUG(2, "Do the cable-OBEX!\n");
+ cli->obexhandle = OBEX_Init(transport, cli_obex_event, 0);
#endif
if(cli->obexhandle == NULL) {
----------------------------snip-------------------------------------
There are incompatibilities involved, just apply and recompile.
HS
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9y
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages obexftp depends on:
ii libbluetooth1 2.11-1 Library to use the BlueZ Linux Blu
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libopenobex-1.0-0 1:1.0.0-rel-3 OBEX protocol library
-- no debconf information
Reply to: