PATTY_AX25_ADDRESS_LEN -> PATTY_AX25_ADDRSTRLEN
This commit is contained in:
parent
6213acc06f
commit
2c3a461ee9
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <patty/dict.h>
|
||||
|
||||
#define PATTY_AX25_CALLSIGN_LEN 6
|
||||
#define PATTY_AX25_ADDRESS_LEN (PATTY_AX25_CALLSIGN_LEN + 3)
|
||||
#define PATTY_AX25_ADDRSTRLEN (PATTY_AX25_CALLSIGN_LEN + 3)
|
||||
#define PATTY_AX25_IF_NAME_SIZE 8
|
||||
#define PATTY_AX25_MAX_HOPS 8
|
||||
#define PATTY_AX25_SOCK_PATH_SIZE 256
|
||||
|
|
|
@ -44,7 +44,7 @@ static char *frame_cr(enum patty_ax25_frame_cr cr) {
|
|||
}
|
||||
|
||||
static int print_addr(FILE *fh, const patty_ax25_addr *addr) {
|
||||
char buf[PATTY_AX25_ADDRESS_LEN];
|
||||
char buf[PATTY_AX25_ADDRSTRLEN];
|
||||
|
||||
if (patty_ax25_ntop(addr, buf, sizeof(buf)) < 0) {
|
||||
goto error_ntop;
|
||||
|
|
Loading…
Add table
Reference in a new issue