diff options
author | 2003-05-17 02:41:19 +0000 | |
---|---|---|
committer | 2003-05-17 02:41:19 +0000 | |
commit | 401ec736a51a1cbc37c08cc68920116f7eb955d1 (patch) | |
tree | 58e5095ab1084e385971f21e3317454f6f0ab603 /libexec/spamd/spamd.c | |
parent | Gremlin slipped in in the encoding table, affected mostly Compact-2 keyboards. (diff) | |
download | wireguard-openbsd-401ec736a51a1cbc37c08cc68920116f7eb955d1.tar.xz wireguard-openbsd-401ec736a51a1cbc37c08cc68920116f7eb955d1.zip |
strsep does not work that way.
ok tedu@
Diffstat (limited to 'libexec/spamd/spamd.c')
-rw-r--r-- | libexec/spamd/spamd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c index 37ae586a408..0fcf1d94643 100644 --- a/libexec/spamd/spamd.c +++ b/libexec/spamd/spamd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spamd.c,v 1.33 2003/05/16 22:30:15 beck Exp $ */ +/* $OpenBSD: spamd.c,v 1.34 2003/05/17 02:41:19 beck Exp $ */ /* * Copyright (c) 2002 Theo de Raadt. All rights reserved. @@ -482,7 +482,7 @@ setlog(char *p, size_t len, char *f) char *s; s = strsep(&f, ":"); - if (!s) + if (!f) return; while (*f == ' ' || *f == '\t') f++; |