diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-06-25 07:37:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-06-25 07:37:16 +0000 |
commit | 2e21bad416b831a5702ff230b30e1a71f4223119 (patch) | |
tree | a5ce2bfa36c368a012f7370c8115dc30e48b8ceb | |
parent | 1663c72036e4b6dab622ea3998fcc77520f9adc9 (diff) | |
download | fetchmail-2e21bad416b831a5702ff230b30e1a71f4223119.tar.gz fetchmail-2e21bad416b831a5702ff230b30e1a71f4223119.tar.bz2 fetchmail-2e21bad416b831a5702ff230b30e1a71f4223119.zip |
Emergency core-dump fix.
svn path=/trunk/; revision=3384
-rw-r--r-- | cram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ int do_cram_md5 (int sock, char *command, struct query *ctl, char *strip) /* caller may specify a response prefix we should strip if present */ respdata = buf1; - if (strncmp(buf1, strip, strlen(strip)) == 0) + if (strip && strncmp(buf1, strip, strlen(strip)) == 0) respdata += strlen(strip); len = from64tobits (msg_id, respdata); |