From 650c1750421213d16842072d63c49b50bf7e98a6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 30 Sep 2001 16:23:30 +0000 Subject: [PATCH] winsock_strerror crashed on me. This fixes a line of code that looks cleverer than it actually is ;-) Braces are good for you :-) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Gerhard HÌring --- src/interfaces/libpq/fe-misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index a98b4c745c..cb7684e88f 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -25,7 +25,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.56 2001/09/06 04:57:30 ishii Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.57 2001/09/30 16:23:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -892,7 +892,7 @@ winsock_strerror(DWORD eno) WSSE_GOODEXIT: length = strlen(winsock_strerror_buf); - sprintf(winsock_strerror_buf + length