143 char *endptr = (char*)value; |
143 char *endptr = (char*)value; |
144 time_t t = strtoll((char*)value, &endptr, 10); |
144 time_t t = strtoll((char*)value, &endptr, 10); |
145 if(endptr == (char*)value) { |
145 if(endptr == (char*)value) { |
146 fprintf( |
146 fprintf( |
147 stderr, |
147 stderr, |
148 "lastmodified contains not a number: %s\n", value); |
148 "lastmodified does not contain a number: %s\n", value); |
149 } else { |
149 } else { |
150 res->last_modified = t; |
150 res->last_modified = t; |
151 } |
151 } |
152 break; |
152 break; |
153 } |
153 } |