Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jan 18, 2012
1 parent 65ab02b commit 961aa27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions persistent-postgresql/Database/Persist/Postgresql.hs
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,13 @@ instance PersistConfig PostgresConf where
return $ PostgresConf ci pool
loadConfig _ = mzero

applyEnv c = do
applyEnv c0 = do
env <- getEnvironment
return $ addUser env
$ addPass env
$ addDatabase env
$ addPort env
$ addHost env c
$ addHost env c0
where
addHost env c =
case lookup "PGHOST" env of
Expand Down

0 comments on commit 961aa27

Please sign in to comment.