2003-11-01 19:38:32 -05:00
|
|
|
$OpenBSD: patch-src_ec_main_c,v 1.3 2003/11/02 00:38:32 margarida Exp $
|
|
|
|
--- src/ec_main.c.orig 2003-07-10 09:25:32.000000000 +0100
|
|
|
|
+++ src/ec_main.c 2003-11-02 00:29:08.000000000 +0000
|
|
|
|
@@ -559,7 +559,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");
|
|
|
|
}
|
|
|
|
}
|