Don't need that, either!
This commit is contained in:
parent
460bbeea54
commit
a3c46b5de6
1 changed files with 0 additions and 5 deletions
|
@ -1,11 +1,8 @@
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <patty/ax25.h>
|
#include <patty/ax25.h>
|
||||||
|
|
||||||
#include "byteorder.h"
|
|
||||||
|
|
||||||
static ssize_t frame_decode_address(patty_ax25_address *address, void *data, off_t offset) {
|
static ssize_t frame_decode_address(patty_ax25_address *address, void *data, off_t offset) {
|
||||||
int i, space = 0;
|
int i, space = 0;
|
||||||
uint8_t ssid = ((uint8_t *)data + offset)[6];
|
uint8_t ssid = ((uint8_t *)data + offset)[6];
|
||||||
|
@ -201,8 +198,6 @@ int patty_ax25_frame_decode(patty_ax25_frame *frame, void *data, size_t size) {
|
||||||
offset += decoded;
|
offset += decoded;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "Decoded %lld/%lu bytes\n", offset, size);
|
|
||||||
|
|
||||||
return offset;
|
return offset;
|
||||||
|
|
||||||
error_decode:
|
error_decode:
|
||||||
|
|
Loading…
Add table
Reference in a new issue