mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Let the buffer just use the default size by specifying 0 as the size
instead of specifying the default size explicitely. Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
c738c9b125
commit
42e4f1252b
1 changed files with 1 additions and 1 deletions
|
|
@ -1751,7 +1751,7 @@ Var_Subst(const char *var, char *str, GNode *ctxt, Boolean undefErr)
|
|||
* been reported to prevent a plethora
|
||||
* of messages when recursing */
|
||||
|
||||
buf = Buf_Init(MAKE_BSIZE);
|
||||
buf = Buf_Init(0);
|
||||
errorReported = FALSE;
|
||||
|
||||
while (*str) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue