summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-bm
blob: 6352381f64a1c66900ee81a130060c29841bb3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bm,v 1.1 2006/05/15 15:33:00 christos Exp $ 

--- icb/s_bump.c.orig	1995-02-24 16:20:27.000000000 -0500
+++ icb/s_bump.c	2006-05-15 10:59:10.000000000 -0400
@@ -6,6 +6,8 @@
 
 #include "icb.h"
 #include "externs.h"
+#include <stdlib.h>
+#include <unistd.h>
 
 s_bump(TARGLIST)
 TARGDEFS
@@ -22,7 +24,7 @@
 	if (argc > 2)
 		password = argv[2];
 	else
-		password = (char *) getpass ("Enter password:");
+		password = getpass ("Enter password:");
 
 	sprintf(message,"bump %s %s", nick, password);
 	sendpersonal("server",message,-1);