Fix typo in code comment

Author: Daniel Gustafsson <daniel@yesql.se>
pull/23/head
Peter Eisentraut 8 years ago
parent 878b7d9eaa
commit 6c6a1149b5
  1. 2
      src/interfaces/ecpg/pgtypeslib/datetime.c

@ -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)

Loading…
Cancel
Save