Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/proto.cc | 9 |
1 files changed, 7 insertions, 2 deletions
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,3 +1,3 @@ /* - * Communication protocol + * Communication protocol * @@ -14,3 +14,3 @@ int send_network_found (const char *guihost, int guiport, void *structure) char buffer[2048]; - char temp[4]; + char temp[5]; @@ -58,2 +58,5 @@ int send_network_found (const char *guihost, int guiport, void *structure) + fprintf( stderr, "Temp is %s\n", temp ); + fprintf( stderr, "ssid_len is %d\n", ptr->ssid_len ); + /* Set ssid */ @@ -61,2 +64,4 @@ int send_network_found (const char *guihost, int guiport, void *structure) + fprintf( stderr, "Buffer is %s\n", buffer ); + /* Send prepared buffer to GUI */ |