commit | e241851ec22a2483048dd9d4a39e6309976eba1e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Jun 14 13:05:07 2007 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Jun 14 13:05:07 2007 +0400 |
tree | b3b8090dc2108fb7ab17249a6ee8ebdd243a7899 | |
parent | 2e95e2856ca0e356882c2684c0443000bd528819 [diff] |
vzlist.c: fix compiler warning and a minor error Added needed include to get rid of the following warning: vzlist.c: In function ‘invert_ip’: vzlist.c:1084: warning: implicit declaration of function ‘inet_ntop’ Amazingly after a fix a new warning appears: vzlist.c: In function ‘invert_ip’: vzlist.c:1085: warning: comparison between pointer and integer That reveals that the check for inet_ntop error return is wrong. Fix this as well.