Ticket #13559: patch-source_smbd_utmp_c.diff

File patch-source_smbd_utmp_c.diff, 559 bytes (added by ecronin (Eric Cronin), 17 years ago)

files/patch-source_smbd_utmp_c.diff

  • smbd/utmp.c

    old new  
    398398        /* Odd.  Have utmpx.h but no "getutmpx()".  Drop to non-x stuff */
    399399        DEBUG(1,("utmp_update: have utmpx.h but no getutmpx() function\n"));
    400400        utmp_nox_update(u, claim);
     401#elif !defined(HAVE_UPDWTMPX)
     402    /* Have utmpx.h but no "updwtmpx()".  Drop to non-x stuff */
     403    DEBUG(1,("utmp_update: have utmpx.h but no updwtmpx() function\n"));
     404    utmp_nox_update(u, claim);
    401405#else
    402406        pstring uname, wname;
    403407        struct utmpx ux, *uxrc;