summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2017-06-15 13:45:13 +0000
committerPeter Eisentraut2017-06-15 13:45:13 +0000
commit6c6a1149b5662f685ddbb0c6dc83eb110992044a (patch)
treea701a7c53966a30f16f584f09e97dcda6f5c7679
parent878b7d9eaa9cbf5f121f9ee8676d82b22decedf0 (diff)
Fix typo in code comment
Author: Daniel Gustafsson <[email protected]>
-rw-r--r--src/interfaces/ecpg/pgtypeslib/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/datetime.c b/src/interfaces/ecpg/pgtypeslib/datetime.c
index 702bf89ef0..2a93eb6857 100644
--- a/src/interfaces/ecpg/pgtypeslib/datetime.c
+++ b/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)