| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax
25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -g -O2 -Wall -MT axutils.lo
-MD -MP -MF .deps/axutils.Tpo -c axutils.c -fPIC -DPIC -o .libs/axutils.o
axutils.c: In function 'rose_aton':
axutils.c:169:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
printf("axutils: invalid rose address '%s' length = %d\n", addr, strlen(addr));
^
Fixed by using a %z conversion which is a construct introduced for C99.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stored only 7 of max 8 (AX25_MAX_DIGIS) digipeaters from ascii string
to the struct full_sockaddr_ax25 *fsap.
Why?
int n = 0;
do { ... } while (n < AX25_MAX_DIGIS && *bp);
Everyone should say "oh yes, n = 0; -> do ... while n < MAX_DIGIS".
But: in the loop n is increased by one. Thus only 7 of 8 arguments
hav been copied.
do { ... } while (n <= AX25_MAX_DIGIS && *bp);
fixes this issue.
|
|
|
|
| |
From: Matti Aarnio OH2MQK <matti.aarnio@zmailer.org>
|
| |
|
|
|
|
| |
like a real buglet for some architectures.
|
| |
|
| |
|
| |
|
| |
|
|
|