title: sscanf not detecting the right numbers
body: <p>I'm having a hard time using sscanf to scan hour and minutes from a list. Below is a small snip of the list.</p>
  
  <pre><code>1704 86 2:30p 5:50p Daily
  1711 17 10:40a 2:15p 5
  1712 86 3:10p 6:30p 1
  1731 48 6:25a 9:30a 156
  1732 100 10:15a 1:30p Daily
  1733 6 2:15p 3:39p Daily
  </code></pre>
  
  <p>I've tried this, but it keeps getting me segmentation Fault.(I'm putting this information into structures).</p>
  
  <pre><code> for(i=0;i&lt;check_enter;i++){
      sscanf(all_flights[i],
      "%d %d %d:%d%c %d:%d%c %s",
      &amp;all_flights_divid[i].flight_number,
      &amp;all_flights_divid[i].route_id,
      &amp;all_flights_divid[i].departure_time_hour,
      &amp;all_flights_divid[i].departure_time_minute,
      &amp;all_flights_divid[i].departure_time_format,
      &amp;all_flights_divid[i].arrival_time_minute,
      &amp;all_flights_divid[i].arrival_time_minute,
      &amp;all_flights_divid[i].arrival_time_format,
      &amp;all_flights_divid[i].frequency);
  
      printf("%d ",all_flights_divid[i].flight_number);
      printf("%d ",all_flights_divid[i].route_id);
      printf("%d ",all_flights_divid[i].departure_time_hour);
      printf("%d ",all_flights_divid[i].departure_time_minute);
      printf("%c ",all_flights_divid[i].departure_time_format);
      printf("%d ",all_flights_divid[i].arrival_time_hour);
      printf("%d ",all_flights_divid[i].arrival_time_minute);
      printf("%c ",all_flights_divid[i].arrival_time_format);
      printf("%s\n",all_flights_divid[i].frequency);
    }
  </code></pre>
  
  <p>This is how I declared it.</p>
  
  <pre><code>struct all_flights{
    int flight_number;
    int route_id;
    int departure_time_hour;
    int departure_time_minute;
    char departure_time_format;
    int arrival_time_hour;
    int arrival_time_minute;
    char arrival_time_format;
    char frequency[10];
  };
  struct all_flights all_flights_divid[3000];
  </code></pre>
  
  <p>These are the results I get </p>
  
  <pre><code>1704 86 2 30 p 0 50 p Daily
  1711 17 10 40 a 0 15 p 5
  1712 86 3 10 p 0 30 p 1
  1731 48 6 25 a 0 30 a 156
  1732 100 10 15 a 0 30 p Daily
  1733 6 2 15 p 0 39 p Daily
  </code></pre>