Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -660,11 +660,11 @@ buffer++; path = buffer; /* Terminate path component */ - buffer = strstr(buffer, "\r\n "); + buffer = strpbrk(buffer, "\r\n "); if (buffer != NULL) { *buffer = '\0'; buffer++; }