aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 926af3c1..b2e13a6d 100644
--- a/driver.c
+++ b/driver.c
@@ -1123,7 +1123,7 @@ int num; /* index of message */
* synthetic Received line is before the From header. Cope
* with this...
*/
- if ((rcv = strstr("Received:", headers)) == (char *)NULL)
+ if ((rcv = strstr(headers, "Received:")) == (char *)NULL)
rcv = headers;
if (rcv > headers)
{