Changeset 443 for branches/client-1.6


Ignore:
Timestamp:
Apr 20, 2010, 6:37:06 PM (15 years ago)
Author:
Silvan Scherrer
Message:

samba client 1.6: made it build

File:
1 edited

Legend:

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

    r441 r443  
    10661066****************************************************************************/
    10671067// YD from libsmb\clilist.c
    1068 // @todo def_finfo is not available anymore, probably the complete function needs more work
    1069 // in the longrun we have to switch to file_info struct instead of our own smbwrp_fileinfo
     1068// @todo
     1069// in the longrun we should switch to file_info struct instead of our own smbwrp_fileinfo
    10701070
    10711071static size_t _os2_interpret_long_filename(struct cli_state *cli,
     
    10731073                                        uint32 *p_resume_key, DATA_BLOB *p_last_name_raw, uint32 *p_last_name_raw_len)
    10741074{
    1075         extern file_info def_finfo;
    10761075        int len;
    10771076        char *base = p;
     
    10841083        }
    10851084
    1086         finfo->attr = def_finfo.mode;
    1087         finfo->mtime = def_finfo.mtime_ts.tv_sec;
    1088         finfo->atime = def_finfo.atime_ts.tv_sec;
    1089         finfo->ctime = def_finfo.ctime_ts.tv_sec;
    1090         strncpy(finfo->fname, def_finfo.name, sizeof(finfo->fname) - 1);
    1091         debuglocal(9,"fname %s (serverzone %d, level %d)\n",finfo->fname, cli->serverzone, level);
     1085        ZERO_STRUCT(finfo);
     1086        debuglocal(9,"fname %s (serverzone %d, level %d)\n",finfo->fname, cli->serverzone, level);
    10921087       
    10931088        switch (level) {
Note: See TracChangeset for help on using the changeset viewer.