mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: buffers: remove b_putstr()
It's not needed anymore.
This commit is contained in:
parent
a094fde2b6
commit
911f7dd893
@ -484,15 +484,6 @@ static inline size_t b_putblk(struct buffer *b, const char *blk, size_t len)
|
|||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* b_putstr() : tries to copy string <str> into output data at buffer <b>.
|
|
||||||
* Supports wrapping. Data are truncated if buffer is too short. It returns the
|
|
||||||
* number of bytes copied.
|
|
||||||
*/
|
|
||||||
static inline size_t b_putstr(struct buffer *b, const char *str)
|
|
||||||
{
|
|
||||||
return b_putblk(b, str, strlen(str));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* _COMMON_BUF_H */
|
#endif /* _COMMON_BUF_H */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user