chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a snprinf wrapper which checks that the buffer was big enough
[elogind.git]
/
src
/
shared
/
fw-util.h
diff --git
a/src/shared/fw-util.h
b/src/shared/fw-util.h
index 58b4c2024d111ff86b9eda1a67b746149638cace..698cc43daa48576d423ca5f073460d2cbd24e236 100644
(file)
--- a/
src/shared/fw-util.h
+++ b/
src/shared/fw-util.h
@@
-76,7
+76,7
@@
static inline int fw_add_local_dnat(
const union in_addr_union *remote,
uint16_t remote_port,
const union in_addr_union *previous_remote) {
const union in_addr_union *remote,
uint16_t remote_port,
const union in_addr_union *previous_remote) {
- return -ENO
ST
UP;
+ return -ENO
TS
UP;
}
#endif
}
#endif