|
25 | 25 | *
|
26 | 26 | *
|
27 | 27 | * IDENTIFICATION
|
28 |
| - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.62 2001/11/08 20:37:52 momjian Exp $ |
| 28 | + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.63 2001/11/27 18:21:51 tgl Exp $ |
29 | 29 | *
|
30 | 30 | *-------------------------------------------------------------------------
|
31 | 31 | */
|
@@ -854,9 +854,8 @@ libpq_gettext(const char *msgid)
|
854 | 854 | /*
|
855 | 855 | * strerror replacement for windows:
|
856 | 856 | *
|
857 |
| - * Wedont't know a fix for win9x yet, but thiswhould work for nt4 and win2k. |
| 857 | + * Wedon't know a fix for win9x yet, but thisshould work for nt4 and win2k. |
858 | 858 | * If you can verify this working on win9x or have a solution, let us know, ok?
|
859 |
| - * |
860 | 859 | */
|
861 | 860 | constchar*
|
862 | 861 | winsock_strerror(DWORDeno)
|
@@ -885,7 +884,7 @@ winsock_strerror(DWORD eno)
|
885 | 884 |
|
886 | 885 | /* Everything failed, just tell the user that we don't know the desc */
|
887 | 886 |
|
888 |
| -strcat(winsock_strerror_buf,"Socket error, no description available."); |
| 887 | +strcpy(winsock_strerror_buf,"Socket error, no description available."); |
889 | 888 |
|
890 | 889 | WSSE_GOODEXIT:
|
891 | 890 |
|
|