cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_getdate

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 21 Jun 2011 14:10:36 -0700

On Wed, Jun 22, 2011 at 12:49:04AM +0400, Tetetest wrote:
> if((mdaynum >> 31) || (monnum > 11) ||
> (hournum >> 23) || (minnum > 59) || (secnum > 60))
> return PARSEDATE_FAIL; /* clearly an illegal date */

With the >> replaced by > of course.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-21