projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939a40b
)
Make pwdfMatchesString() a little more careful about matching * fields.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 18 May 2009 16:15:22 +0000
(16:15 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 18 May 2009 16:15:22 +0000
(16:15 +0000)
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index a9ca5e30addcb6dfeb67dac74028c2f307bad876..d009fc316623c127ca4766644fc8c2473efc38f9 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.37
3 2009/04/24 09:43:10 mha
Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.37
4 2009/05/18 16:15:22 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
@@
-3779,7
+3779,7
@@
pwdfMatchesString(char *buf, char *token)
return NULL;
tbuf = buf;
ttok = token;
- if (
*tbuf == '*
')
+ if (
tbuf[0] == '*' && tbuf[1] == ':
')
return tbuf + 2;
while (*tbuf != 0)
{