projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0308d66
)
chkpass_rout returns text so change PG_RETURN_CSTRING to PG_RETURN_TEXT_P.
author
D'Arcy J.M. Cain
<darcy@druid.net>
Thu, 29 Aug 2002 12:18:20 +0000
(12:18 +0000)
committer
D'Arcy J.M. Cain
<darcy@druid.net>
Thu, 29 Aug 2002 12:18:20 +0000
(12:18 +0000)
This is currently a cosmetic difference but I make the change now in case
the macros diverge one day.
contrib/chkpass/chkpass.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/chkpass/chkpass.c
b/contrib/chkpass/chkpass.c
index b2e041f5ba869e318a210988ba65d46da258080e..60e71df2d86b2ed122f28238bb3eaee4617da6a1 100644
(file)
--- a/
contrib/chkpass/chkpass.c
+++ b/
contrib/chkpass/chkpass.c
@@
-4,7
+4,7
@@
* darcy@druid.net
* http://www.druid.net/darcy/
*
- * $Id: chkpass.c,v 1.
7 2001/12/19 18:49:24 petere
Exp $
+ * $Id: chkpass.c,v 1.
8 2002/08/29 12:18:20 darcy
Exp $
* best viewed with tabs set to 4
*/
@@
-150,7
+150,7
@@
chkpass_rout(PG_FUNCTION_ARGS)
memcpy(result->vl_dat, password->password, strlen(password->password));
}
- PG_RETURN_
CSTRING
(result);
+ PG_RETURN_
TEXT_P
(result);
}