1 Commits

Author SHA1 Message Date
1803501272 fix nil slice 2022-01-16 18:29:42 +01:00

View File

@ -283,6 +283,7 @@ func keySplit(key string) (left string, right string, ok bool) {
func (c *Config) getRaw(key string, dtype DataType) (val cValue) {
val.dtype = TypeNone
val.binval = make([]byte, 0, 0)
if c.parsed {
key = cleanKey(key)
entry, ok := c.env[key]