summaryrefslogtreecommitdiff
path: root/usr.bin/talk/invite.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/talk/invite.c')
-rw-r--r--usr.bin/talk/invite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/talk/invite.c b/usr.bin/talk/invite.c
index 9f07a7ebbbe..fe023ddf8c1 100644
--- a/usr.bin/talk/invite.c
+++ b/usr.bin/talk/invite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: invite.c,v 1.16 2016/02/01 07:29:25 mestre Exp $ */
+/* $OpenBSD: invite.c,v 1.17 2016/03/16 15:41:11 krw Exp $ */
/* $NetBSD: invite.c,v 1.3 1994/12/09 02:14:18 jtc Exp $ */
/*
@@ -93,7 +93,7 @@ invite_remote(void)
* gets called again in main().
*/
end_msgs();
- setitimer(ITIMER_REAL, &itimer, (struct itimerval *)0);
+ setitimer(ITIMER_REAL, &itimer, NULL);
message("Waiting for your party to respond");
signal(SIGALRM, re_invite);
(void) setjmp(invitebuf);