Use of strcasestr

Subject: Use of strcasestr

Date: Mon, 12 Apr 2010 15:58:10 +0200

To: Dirk Hohndel

Cc: notmuch

From: Tomas Carnecky


In 4fd9ea0 (guess From address from Received headers, 2010-04-06) you 
introduced strcasestr, which is not portable, see 82e47ec (notmuch 
reply: Use strstr instead of strcasestr for portability., 2010-02-04).

Is strcasestr really necessary there or can it be replaced with strstr?

tom


Thread: