lookup_unique_name: Remove always true condition
commitb80c0e8a0d9f7aca210e1e0c164f3193a99fcde9
authorKalle Olavi Niemitalo <kon@iki.fi>
Mon, 20 Jul 2009 22:09:37 +0000 (21 01:09 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Mon, 20 Jul 2009 22:09:37 +0000 (21 01:09 +0300)
tree983eebb7be1f390c65137aaac201e77267bcad0a
parent71dfd47dcba4ed1f364c67a3d7ce062a28abd042
lookup_unique_name: Remove always true condition

Remove the stracpy(ofile) call that could never be executed.
This removes the need to handle errors from that call,
and makes it clear that lun_hop->file need not be separately freed
if an error occurs in lookup_unique_name().
src/session/download.c