Changeset 13743 for branches


Ignore:
Timestamp:
Jan 3, 2013, 11:46:35 PM (9 years ago)
Author:
jordan
Message:

(2.7x, libT) backport r13690 for #5184

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7x/libtransmission/platform.c

    r13631 r13743  
    503503                  if (!memcmp (value, "$HOME/", 6))
    504504                    user_dir = tr_buildPath (getHomeDir (), value+6, NULL);
     505                  else if (!strcmp (value, "$HOME"))
     506                    user_dir = tr_strdup (getHomeDir ());
    505507                  else
    506508                    user_dir = tr_strdup (value);
Note: See TracChangeset for help on using the changeset viewer.