Ignore:
Timestamp:
Jul 2, 2011, 4:01:14 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.9

Location:
vendor/current/source3/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/utils/net_rpc_printer.c

    r587 r597  
    10921092                return false;
    10931093
     1094        *info_p = talloc_zero(mem_ctx, union spoolss_PrinterInfo);
     1095        if (*info_p == NULL) {
     1096                return false;
     1097        }
     1098
    10941099        if (!net_spoolss_getprinter(pipe_hnd, mem_ctx, &hnd, level, *info_p)) {
    10951100                rpccli_spoolss_ClosePrinter(pipe_hnd, mem_ctx, &hnd, NULL);
  • vendor/current/source3/utils/ntlm_auth.c

    r594 r597  
    737737        ctrl = get_pam_winbind_config();
    738738
    739         if (ctrl | WINBIND_KRB5_AUTH) {
     739        if (ctrl & WINBIND_KRB5_AUTH) {
    740740                wb_request.flags |= WBFLAG_PAM_CONTACT_TRUSTDOM;
    741741        }
  • vendor/current/source3/utils/smbget.c

    r414 r597  
    7575static void human_readable(off_t s, char *buffer, int l)
    7676{
    77         if(s > 1024 * 1024 * 1024) snprintf(buffer, l, "%.2fGb", 1.0 * s / (1024 * 1024 * 1024));
    78         else if(s > 1024 * 1024) snprintf(buffer, l, "%.2fMb", 1.0 * s / (1024 * 1024));
    79         else if(s > 1024) snprintf(buffer, l, "%.2fkb", 1.0 * s / 1024);
     77        if(s > 1024 * 1024 * 1024) snprintf(buffer, l, "%.2fGB",
     78                                            1.0 * s / (1024 * 1024 * 1024));
     79        else if(s > 1024 * 1024) snprintf(buffer, l, "%.2fMB",
     80                                          1.0 * s / (1024 * 1024));
     81        else if(s > 1024) snprintf(buffer, l, "%.2fkB", 1.0 * s / 1024);
    8082        else snprintf(buffer, l, OFF_T_FORMAT"b", (OFF_T_FORMAT_CAST)s);
    8183}
Note: See TracChangeset for help on using the changeset viewer.