Changeset 216 for trunk

Show
Ignore:
Timestamp:
07/14/08 13:50:05 (4 months ago)
Author:
zany
Message:

removing bdaddr_t reference from obexftpd.c

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r209 r216  
     1ObexFTP 0.23 (unreleased) 
     2---------------------------------- 
     3 
     4        * removing bdaddr_t reference from obexftpd.c 
     5 
     6 
    17ObexFTP 0.22 (released 2008-06-15) 
    28---------------------------------- 
  • trunk/apps/obexftpd.c

    r194 r216  
    4141#ifdef _WIN32 
    4242#include <winsock2.h> 
    43 #ifdef HAVE_BLUETOOTH 
    44 #include <ws2bth.h> 
    45 #define bdaddr_t        BTH_ADDR 
    46 #endif 
    4743#define S_IRGRP 0 
    4844#define S_IROTH 0 
     
    7874 
    7975 
    80 #ifdef HAVE_BLUETOOTH 
    81 static bdaddr_t *bt_src = NULL; 
    82 #endif 
    8376static char *device = NULL; 
    8477static int channel = 10; /* OBEX_PUSH_HANDLE */ 
     
    889882#ifdef HAVE_BLUETOOTH 
    890883        case OBEX_TRANS_BLUETOOTH: 
    891                 if (0 > BtOBEX_ServerRegister(handle, bt_src, channel)) { 
     884                if (0 > BtOBEX_ServerRegister(handle, /*bdaddr_t *bt_src*/NULL, channel)) { 
    892885                        perror("failed to register bluetooth server"); 
    893886                        exit(-1);