aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/win32.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
committerBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
commit0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (patch)
treeeb42bea6234c92d377cb52257855b4b882120e78 /src/interfaces/libpq/win32.c
parent64011b4dce7db05bd7bb1911fe81fcc8f2da75e1 (diff)
downloadpostgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.tar.gz
postgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.zip
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
Diffstat (limited to 'src/interfaces/libpq/win32.c')
-rw-r--r--src/interfaces/libpq/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/win32.c b/src/interfaces/libpq/win32.c
index 8122bc9b146..fce0d3f26b5 100644
--- a/src/interfaces/libpq/win32.c
+++ b/src/interfaces/libpq/win32.c
@@ -309,7 +309,7 @@ winsock_strerror(int err, char *strerrbuf, size_t buflen)
}
if (!success)
- sprintf(strerrbuf, "Unknown socket error (0x%08X/%i)", err, err);
+ sprintf(strerrbuf, libpq_gettext("Unknown socket error (0x%08X/%i)"), err, err);
else
{
strerrbuf[buflen - 1] = '\0';