Ignore:
Timestamp:
Jan 14, 2011, 11:58:49 AM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.0: another bunch of updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/smbwrp.c

    r515 r520  
    178178        }
    179179*/
     180        return 0;
     181
     182}
     183
     184void smbwrp_initthread(void)
     185{
    180186        /*
    181187         * Block SIGPIPE (from lib/util_sock.c: write())
     
    183189         */
    184190        BlockSignals(True, SIGPIPE);
    185 
    186         return 0;
    187 
    188191}
    189192
     
    794797        }
    795798
    796 debuglocal(4,"Setting on <%s> attr %04x, time %lu/%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
    797         if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     799        debuglocal(4,"Setting on <%s> attr %04x, time %lu (timezone%lu)\n", finfo->fname, finfo->attr, finfo->mtime, get_time_zone(finfo->mtime));
     800        // we already have gmt time, so no need to add timezone
     801        // if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     802        if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime)
    798803                && !cli_setatr(cli, finfo->fname, finfo->attr, 0))
    799804        {
Note: See TracChangeset for help on using the changeset viewer.