Browse files

bugfix: subtract (not add) 1900 from year

git-svn-id: http://svn.kfish.org/fastphoto/trunk@146 9c49b5d1-7df3-0310-bce2-b7278e68f44c
  • Loading branch information...
1 parent 11752da commit e777a3506bbfd847d8311653951de0c0fd003c2f conrad committed Feb 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/httpdate.c
View
2 src/httpdate.c
@@ -52,7 +52,7 @@ httpdate_parse (char * s, int n)
}
}
- d.tm_year += 1900;
+ d.tm_year -= 1900;
return mktime (&d);
}

0 comments on commit e777a35

Please sign in to comment.