source: packages/net/baresip/patches/100-loginname.patch @ 28756

Last change on this file since 28756 was 28756, checked in by nico, 5 years ago

packages/baresip: update to 0.3.0 (thanks to Alfred E. Heggestad), make it modular, use start-stop-daemon

File size: 272 bytes
  • src/os.c

    a b static int get_home_unix(char *path, uin 
    100100        struct passwd *pw; 
    101101        char *loginname = NULL; 
    102102 
    103         loginname = getenv("LOGNAME"); 
     103        loginname = getenv("USER"); 
    104104        if (!loginname) { 
    105105#ifdef HAVE_UNISTD_H 
    106106                loginname = getlogin(); 
Note: See TracBrowser for help on using the repository browser.