2003-06-18 10:20:42 -04:00
|
|
|
$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)
|
2002-12-28 18:29:13 -05:00
|
|
|
{
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
}
|