summaryrefslogtreecommitdiff
path: root/src/port/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/path.c')
-rw-r--r--src/port/path.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/port/path.c b/src/port/path.c
index c43843bb464..16c64da6085 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/path.c,v 1.72 2007/10/23 17:58:01 mha Exp $
+ * $PostgreSQL: pgsql/src/port/path.c,v 1.73 2007/11/15 21:14:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -628,13 +628,14 @@ get_home_path(char *ret_path)
strlcpy(ret_path, pwd->pw_dir, MAXPGPATH);
return true;
#else
- char *tmppath;
+ char *tmppath;
- /*
- * Note: We use getenv here because the more modern SHGetSpecialFolderPath()
- * will force us to link with shell32.lib which eats valuable desktop heap.
- */
- tmppath = getenv("APPDATA");
+ /*
+ * Note: We use getenv here because the more modern
+ * SHGetSpecialFolderPath() will force us to link with shell32.lib which
+ * eats valuable desktop heap.
+ */
+ tmppath = getenv("APPDATA");
if (!tmppath)
return false;
snprintf(ret_path, MAXPGPATH, "%s/postgresql", tmppath);