OSDN Git Service

config parser: always initialize line pointer
authorNatanael Copa <natanael.copa@gmail.com>
Thu, 14 Oct 2010 06:35:06 +0000 (06:35 +0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 14 Oct 2010 12:59:58 +0000 (14:59 +0200)
commitc7c7ea92be00a9b5b48d1243bb75d32390263159
treeac80bda781b61d17beb371b9ebbebd5bc2bcb254
parent5cb23c3c734fad8fcfcd09eef34f666f04a0af5e
config parser: always initialize line pointer

We must always initialize line pointer since data pointer might
have changed due to a realloc (in getserv.c for example).

Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/misc/internals/parse_config.c