diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-11-08 18:51:16 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-12-01 19:51:06 +0100 |
commit | 2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc (patch) | |
tree | 1322d2443437dc9afbe112152c0a6c9745e89a71 /pimd/pim_msdp_packet.c | |
parent | ospfd: fix NSSA LSA translation (BZ#493) (BZ#250) (diff) | |
download | frr-2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc.tar.xz frr-2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc.zip |
*: don't use deprecated stream.h macros
Some of the deprecated stream.h macros see such little use that we may
as well just remove them and use the non-deprecated macros.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp_packet.c')
-rw-r--r-- | pimd/pim_msdp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_msdp_packet.c b/pimd/pim_msdp_packet.c index 11efc158e..978d97924 100644 --- a/pimd/pim_msdp_packet.c +++ b/pimd/pim_msdp_packet.c @@ -221,7 +221,7 @@ int pim_msdp_write(struct thread *thread) writenum = stream_get_endp(s) - stream_get_getp(s); /* Call write() system call */ - num = write(mp->fd, STREAM_PNT(s), writenum); + num = write(mp->fd, stream_pnt(s), writenum); if (num < 0) { /* write failed either retry needed or error */ if (ERRNO_IO_RETRY(errno)) { |