artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2b4b45
)
The unsigned result cannot be -1, turn it into a signed variable.
author
reyk
<reyk@openbsd.org>
Tue, 4 Apr 2017 15:52:12 +0000
(15:52 +0000)
committer
reyk
<reyk@openbsd.org>
Tue, 4 Apr 2017 15:52:12 +0000
(15:52 +0000)
OK rzalamena@
usr.sbin/dhcrelay/dispatch.c
patch
|
blob
|
history
diff --git
a/usr.sbin/dhcrelay/dispatch.c
b/usr.sbin/dhcrelay/dispatch.c
index
c33130a
..
d6fece8
100644
(file)
--- a/
usr.sbin/dhcrelay/dispatch.c
+++ b/
usr.sbin/dhcrelay/dispatch.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dispatch.c,v 1.2
0 2017/03/15 14:31:49 rzalamena Exp $
*/
+/* $OpenBSD: dispatch.c,v 1.2
1 2017/04/04 15:52:12 reyk Exp $
*/
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@
-342,7
+342,7
@@
void
got_one(struct protocol *l)
{
struct packet_ctx pc;
- size_t result;
+ s
s
ize_t result;
union {
/*
* Packet input buffer. Must be as large as largest