From eadf7c4aed6ff281f418a7a3b315fd59f001617a Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 04 Dec 2002 21:23:17 +0000 Subject: more debugging info for our debugging session... --- diff --git a/noncore/net/wellenreiter/libwellenreiter/source/proto.cc b/noncore/net/wellenreiter/libwellenreiter/source/proto.cc index 359bdb5..305f401 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/proto.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/proto.cc @@ -1,5 +1,5 @@ /* - * Communication protocol + * Communication protocol * * $Id$ */ @@ -12,7 +12,7 @@ int send_network_found (const char *guihost, int guiport, void *structure) { wl_network_t *ptr; char buffer[2048]; - char temp[4]; + char temp[5]; ptr = (wl_network_t *)structure; @@ -56,9 +56,14 @@ int send_network_found (const char *guihost, int guiport, void *structure) memcpy(buffer + 23, temp, 3); + fprintf( stderr, "Temp is %s\n", temp ); + fprintf( stderr, "ssid_len is %d\n", ptr->ssid_len ); + /* Set ssid */ memcpy(buffer + 26, ptr->bssid, ptr->ssid_len); + fprintf( stderr, "Buffer is %s\n", buffer ); + /* Send prepared buffer to GUI */ sendcomm(guihost, guiport, buffer); -- cgit v0.9.0.2