8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 05:23:03 +01:00

Empty SPB not allowed anymore

This commit is contained in:
hvlad 2008-03-12 09:20:10 +00:00
parent e8fee774e1
commit 98b3b880b5

View File

@ -324,7 +324,8 @@ BOOL ReadFBSettings(HWND hDlg)
hOldCursor = SetCursor(LoadCursor(NULL, IDC_WAIT));
char* const pchPtr = szService + strlen(szService);
strcat(szService, "anonymous");
isc_service_attach(pdwStatus, 0, szService, &hService, 0, "");
char spb[] = {isc_spb_version1};
isc_service_attach(pdwStatus, 0, szService, &hService, sizeof(spb), spb);
*pchPtr = '\0';