projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af12985
)
Do not accept values from sections following the specified section.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 10 Mar 2001 22:30:57 +0000
(22:30 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 10 Mar 2001 22:30:57 +0000
(22:30 +0000)
src/interfaces/odbc/gpps.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/odbc/gpps.c
b/src/interfaces/odbc/gpps.c
index f14e95f2ce4176da77e61dc78043eda0539eb716..dbcfe4925f63e99113e8678137664bdcd18fa119 100644
(file)
--- a/
src/interfaces/odbc/gpps.c
+++ b/
src/interfaces/odbc/gpps.c
@@
-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;