~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/parsedate.c

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
        /* time stamp! */
372
372
        date += 8;
373
373
      }
 
374
      else if((secnum == -1) &&
 
375
              (2 == sscanf(date, "%02d:%02d", &hournum, &minnum))) {
 
376
        /* time stamp without seconds */
 
377
        date += 5;
 
378
        secnum = 0;
 
379
      }
374
380
      else {
375
381
        val = (int)strtol(date, &end, 10);
376
382