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

13 lines
605 B
Plaintext

$OpenBSD: patch-src_ec_main_c,v 1.1 2002/12/28 23:29:13 pvalchev Exp $
--- src/ec_main.c.orig Sat Dec 28 14:47:21 2002
+++ src/ec_main.c Sat Dec 28 14:47:37 2002
@@ -522,7 +522,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");
}
}