cfg: Always null-terminate the cfg array.
authorBen Pfaff <blp@nicira.com>
Tue, 7 Apr 2009 18:07:34 +0000 (11:07 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Apr 2009 18:16:30 +0000 (11:16 -0700)
commit764c94a4d7786ccba8fcf41cac8c7ffbc261393d
tree5dbeb3c8bfe895fb83c20e758b84d74948c96deb
parent15a27cbb2c68ea9eed46751a5808093ad27e0beb
cfg: Always null-terminate the cfg array.

Some functions depend on the cfg array being null-terminated, so be sure
to make it so when modifying the array.

cfg_add_entry() still doesn't sort the array, but it should.
lib/cfg.c