author | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 13:31:00 +0000 (14:31 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 13:31:00 +0000 (14:31 +0100) | ||
commit | c2bb3eb2148fd88fe7a18af29a65251f20231fb8 | |
tree | 01fe0842c3085a428da2334634f5f051aefced58 | tree | snapshot |
parent | d2cd085eef172fb0c684ef4075ba17f8fd5b999a | commit | diff |
conf: simplified parse_key_value()
Removed the state machine stuff, and use strtol() if the first
character is not a single quote. strtol() will do the error
checking.
Removed the state machine stuff, and use strtol() if the first
character is not a single quote. strtol() will do the error
checking.
src/conf.c | diff | blob | history |