提交 eb9033ce 编写于 作者: T Tom Lane

Do not accept values from sections following the specified section.

上级 af129857
......@@ -55,7 +55,6 @@ GetPrivateProfileString(char *theSection, /* section name */
char *aString;
size_t aLineLength;
size_t aReturnLength = 0;
BOOL aSectionFound = FALSE;
BOOL aKeyFound = FALSE;
int j = 0;
......@@ -151,9 +150,9 @@ GetPrivateProfileString(char *theSection, /* section name */
/* accept as matched if NULL key or exact match */
if(!theSection || !strcmp(aStart, theSection))
{
aSectionFound = TRUE;
}
else
aSectionFound = FALSE;
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册