Ignore:
Timestamp:
Jun 10, 2007, 10:26:59 PM (14 years ago)
Author:
joshe
Message:

Add some code for verbose UPnP logging which can be enabled at compile-time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r1998 r2034  
    3636#include <pwd.h>
    3737
    38 static char * tr_getHomeDirectory()
     38const char *
     39tr_getHomeDirectory( void )
    3940{
    4041    static char     homeDirectory[MAX_PATH_LENGTH];
     
    6667    return homeDirectory;
    6768}
     69
     70#else
     71
     72const char *
     73tr_getHomeDirectory( void )
     74{
     75    /* XXX */
     76    return "";
     77}
     78
    6879#endif /* !SYS_BEOS && !__AMIGAOS4__ */
    6980
Note: See TracChangeset for help on using the changeset viewer.