1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

corrected for interface changes in libtcp-portmon.h

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@392 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2005-11-11 05:30:35 +00:00
parent f827842abf
commit 5d9022d9df

View File

@ -25,12 +25,12 @@ int main()
(void) signal(SIGINT,set_terminate);
if ( (p_collection = create_tcp_port_monitor_collection()) == NULL) {
if ( (p_collection = create_tcp_port_monitor_collection( 0 )) == NULL) {
fprintf(stderr,"error: create_tcp_port_monitor_collection()\n");
exit(1);
}
if ( (p_monitor = create_tcp_port_monitor( 1, 65535 )) == NULL) {
if ( (p_monitor = create_tcp_port_monitor( 1, 65535, 0 )) == NULL) {
fprintf(stderr,"error: create_tcp_port_monitor()\n");
exit(1);
}