openbsd-ports/net/ettercap/patches/patch-src_ec_main_c

13 lines
601 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_ec_main_c,v 1.2 2003/06/18 14:20:42 avsm Exp $
--- src/ec_main.c.orig Mon May 5 13:38:13 2003
+++ src/ec_main.c Wed Jun 18 15:10:25 2003
@@ -589,7 +589,7 @@ void Main_Check_NewRelease(void)
{
char wget[100];
snprintf(wget, sizeof(wget), "http://%s/download/ettercap-%s.tar.gz", host, latest);
- if ( execl( WGET_PATH, "wget", wget, NULL) == -1 )
+ if ( execl( WGET_PATH, "wget", wget, (void *)NULL) == -1 )
Error_msg("Cannot execute wget ! Auto update cannot download the file...\n");
}
}