summaryrefslogtreecommitdiff
path: root/contrib/chkpass
diff options
context:
space:
mode:
authorD'Arcy J.M. Cain <darcy@druid.net>2002-08-29 12:18:20 +0000
committerD'Arcy J.M. Cain <darcy@druid.net>2002-08-29 12:18:20 +0000
commit5f97dc3e7c5314ed822940b9831e5153cd6a3593 (patch)
tree2580988009582beaca2d865b5f3f461cff603a31 /contrib/chkpass
parent0308d66a6ab51ddcaf946ec9d0461eaedd6906d8 (diff)
downloadpostgresql-5f97dc3e7c5314ed822940b9831e5153cd6a3593.tar.gz
chkpass_rout returns text so change PG_RETURN_CSTRING to PG_RETURN_TEXT_P.
This is currently a cosmetic difference but I make the change now in case the macros diverge one day.
Diffstat (limited to 'contrib/chkpass')
-rw-r--r--contrib/chkpass/chkpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/chkpass/chkpass.c b/contrib/chkpass/chkpass.c
index b2e041f5ba..60e71df2d8 100644
--- 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);
}