summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-03-07 11:13:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-03-07 11:13:55 +0000
commit1c0fee2074f734b834069b932773711f7245c6d2 (patch)
treecc446143ba6d85aef6e8413716ee238c90683c06 /usr.sbin/cron
parente04702a5facd0667c53b525c5fbd226f50d2c3ad (diff)
Allow a '+' in the MAILTO email adress; from Constantine A. Murenin
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/do_command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/do_command.c b/usr.sbin/cron/do_command.c
index 299e6f44c57..9a0185ac74d 100644
--- a/usr.sbin/cron/do_command.c
+++ b/usr.sbin/cron/do_command.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: do_command.c,v 1.36 2011/08/22 19:32:42 millert Exp $ */
+/* $OpenBSD: do_command.c,v 1.37 2013/03/07 11:13:54 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -507,7 +507,7 @@ child_process(entry *e, user *u) {
int
safe_p(const char *usernm, const char *s) {
- static const char safe_delim[] = "@!:%-.,"; /* conservative! */
+ static const char safe_delim[] = "@!:%+-.,"; /* conservative! */
const char *t;
int ch, first;