mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-19 14:31:44 -04:00
MINOR: buffers: remove b_putstr()
It's not needed anymore.
This commit is contained in:
parent
a094fde2b6
commit
911f7dd893
1 changed files with 0 additions and 9 deletions
|
|
@ -484,15 +484,6 @@ static inline size_t b_putblk(struct buffer *b, const char *blk, size_t 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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue