chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regress: fuzzraw: fixes and improvements to Paddr and Pbytes
[adns.git]
/
regress
/
hplayback.c.m4
diff --git
a/regress/hplayback.c.m4
b/regress/hplayback.c.m4
index dc7080f386b98b37c26921dd3f167a27fee9a9fa..be46e083e0610be311a41856699d2b20f3452e52 100644
(file)
--- a/
regress/hplayback.c.m4
+++ b/
regress/hplayback.c.m4
@@
-295,8
+295,8
@@
static void Paddr(struct sockaddr *addr, int *lenr) {
int tl = strlen(p);
FR_WRITE(tl);
FR_write(p,tl);
-
int port_int
= ul;
- FR_WRITE(port
_int
);
+
uint16_t port16
= ul;
+ FR_WRITE(port
16
);
}
a.len= sizeof(a.addr);