Fix typo in code comment

Author: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
Peter Eisentraut 2017-06-15 09:45:13 -04:00
parent 878b7d9eaa
commit 6c6a1149b5
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ PGTYPESdate_defmt_asc(date * d, const char *fmt, char *str)
/*
* as long as the string, one additional byte for the terminator and 2
* for the delimiters between the 3 fiedls
* for the delimiters between the 3 fields
*/
str_copy = pgtypes_alloc(strlen(str) + 1 + 2);
if (!str_copy)