diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-15 15:22:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-15 15:22:54 +0000 |
commit | 56da46e2805e6c1fc762e2b4bc2b963ed3a65eff (patch) | |
tree | 853634d453b3f439cf3202ce16d54d4df3a9fbc6 /mbone/wbd | |
parent | fcdc295f37164c5cce14105e0a5f6a1dbc342ca3 (diff) | |
download | pkgsrc-56da46e2805e6c1fc762e2b4bc2b963ed3a65eff.tar.gz |
Be consistent about using return values.
Diffstat (limited to 'mbone/wbd')
-rw-r--r-- | mbone/wbd/distinfo | 3 | ||||
-rw-r--r-- | mbone/wbd/patches/patch-comms.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/mbone/wbd/distinfo b/mbone/wbd/distinfo index 45b6d4ab434..ad8a3bfa477 100644 --- a/mbone/wbd/distinfo +++ b/mbone/wbd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2012/08/21 21:51:07 marino Exp $ +$NetBSD: distinfo,v 1.4 2013/01/15 15:22:54 joerg Exp $ SHA1 (wbd-1.0ucl4.tar.gz) = 09a399ed435372d7a62fd1c98c6a06aca15cb4e3 RMD160 (wbd-1.0ucl4.tar.gz) = ae094420243f35edc664b1be5c496e4f504e277e @@ -6,3 +6,4 @@ Size (wbd-1.0ucl4.tar.gz) = 53591 bytes SHA1 (patch-aa) = d66e9a3c0999b723c42e1177968b27bc686317d7 SHA1 (patch-ab) = 70c932caacddb93aacbf245ea8aab3ed685fed8c SHA1 (patch-ac) = 8e72488495f29bc42d9572901d1d766025b11c9e +SHA1 (patch-comms.c) = e8efcb792cfe245fa3c367ed8a9868544832c0c2 diff --git a/mbone/wbd/patches/patch-comms.c b/mbone/wbd/patches/patch-comms.c new file mode 100644 index 00000000000..83f01c119b2 --- /dev/null +++ b/mbone/wbd/patches/patch-comms.c @@ -0,0 +1,13 @@ +$NetBSD: patch-comms.c,v 1.1 2013/01/15 15:22:54 joerg Exp $ + +--- comms.c.orig 2013-01-11 15:02:20.000000000 +0000 ++++ comms.c +@@ -1450,7 +1450,7 @@ int ParseDrawMsg (struct pk_draw_msg *Dr + return 0; + + if (ntohl(DrawMsg->page_num) < 1) +- return; ++ return 0; + + if ((ntohl(DrawMsg->page_num))!=(PageCurrent()->page_number)) + PageSet ((ntohl(DrawMsg->page_num)), (ntohl(DrawMsg->page_ip))); |