diff options
author | Claudiu Olteanu <claudiu@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-09-19 13:09:18 +0000 |
---|---|---|
committer | Claudiu Olteanu <claudiu@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-09-19 13:09:18 +0000 |
commit | 8d4d3437ec65fb17657ac60eede0a1bae3936d2f (patch) | |
tree | 59f2a770011c77579107dfdc75810b7c994c26e8 /src/transport/gnunet-helper-transport-bluetooth.c | |
parent | da2224c154777930524d3f51baa35527989d843c (diff) | |
download | gnunet-8d4d3437ec65fb17657ac60eede0a1bae3936d2f.tar.gz gnunet-8d4d3437ec65fb17657ac60eede0a1bae3936d2f.zip |
Removing the bluetooth tests on W32
Diffstat (limited to 'src/transport/gnunet-helper-transport-bluetooth.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-bluetooth.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/transport/gnunet-helper-transport-bluetooth.c b/src/transport/gnunet-helper-transport-bluetooth.c index f07fd23aa..457b77cfe 100644 --- a/src/transport/gnunet-helper-transport-bluetooth.c +++ b/src/transport/gnunet-helper-transport-bluetooth.c | |||
@@ -82,7 +82,10 @@ | |||
82 | UINT8 mac[MAC_ADDR_SIZE]; | 82 | UINT8 mac[MAC_ADDR_SIZE]; |
83 | }; | 83 | }; |
84 | 84 | ||
85 | // {31191E56-FA7E-4517-870E-71B86BBCC52F} | 85 | /** |
86 | * The UUID used for the SDP service. | ||
87 | * {31191E56-FA7E-4517-870E-71B86BBCC52F} | ||
88 | */ | ||
86 | #define GNUNET_BLUETOOTH_SDP_UUID \ | 89 | #define GNUNET_BLUETOOTH_SDP_UUID \ |
87 | { \ | 90 | { \ |
88 | 0x31, 0x19, 0x1E, 0x56, \ | 91 | 0x31, 0x19, 0x1E, 0x56, \ |
@@ -614,12 +617,12 @@ check_crc_buf_osdep (const unsigned char *buf, size_t len) | |||
614 | print_last_error() | 617 | print_last_error() |
615 | { | 618 | { |
616 | LPVOID lpMsgBuf = NULL; | 619 | LPVOID lpMsgBuf = NULL; |
617 | FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, | 620 | |
618 | NULL, GetLastError(), 0, (LPTSTR) &lpMsgBuf, 0, NULL); | 621 | if (FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, |
619 | fprintf (stderr, "%s\n", (char *)lpMsgBuf) ; | 622 | NULL, GetLastError(), 0, (LPTSTR) &lpMsgBuf, 0, NULL)) |
620 | //FIXME : it crashes | 623 | fprintf (stderr, "%s\n", (char *)lpMsgBuf); |
621 | // if (lpMsgBuf) | 624 | else |
622 | // free (lpMsgBuf); | 625 | fprintf (stderr, "Failed to format the message for the last error! Error number : %d\n", GetLastError()); |
623 | } | 626 | } |
624 | 627 | ||
625 | /** | 628 | /** |