Ignore:
Timestamp:
Jan 14, 2011, 12:28:08 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.1: another bunch of updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/src/smbwrp.c

    r516 r521  
    195195        }
    196196*/
     197        return 0;
     198
     199}
     200
     201void smbwrp_initthread(void)
     202{
    197203        /*
    198204         * Block SIGPIPE (from lib/util_sock.c: write())
     
    200206         */
    201207        BlockSignals(True, SIGPIPE);
    202 
    203         return 0;
    204 
    205208}
    206209
     
    821824        }
    822825
    823 debuglocal(4,"Setting on <%s> attr %04x, time %lu/%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
    824         if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     826debuglocal(4,"Setting on <%s> attr %04x, time %lu (timezone /%lu\n", finfo->fname, finfo->attr, finfo->mtime, finfo->mtime + get_time_zone(finfo->mtime));
     827        // we already have gmt time, so no need to add timezone
     828        // if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime + (finfo->mtime == 0 ? 0 : get_time_zone(finfo->mtime)))
     829        if (!cli_setatr(cli, finfo->fname, finfo->attr, finfo->mtime)
    825830                && !cli_setatr(cli, finfo->fname, finfo->attr, 0))
    826831        {
Note: See TracChangeset for help on using the changeset viewer.