Changeset 597 for vendor/current/source3/utils
- Timestamp:
- Jul 2, 2011, 4:01:14 PM (14 years ago)
- Location:
- vendor/current/source3/utils
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/utils/net_rpc_printer.c
r587 r597 1092 1092 return false; 1093 1093 1094 *info_p = talloc_zero(mem_ctx, union spoolss_PrinterInfo); 1095 if (*info_p == NULL) { 1096 return false; 1097 } 1098 1094 1099 if (!net_spoolss_getprinter(pipe_hnd, mem_ctx, &hnd, level, *info_p)) { 1095 1100 rpccli_spoolss_ClosePrinter(pipe_hnd, mem_ctx, &hnd, NULL); -
vendor/current/source3/utils/ntlm_auth.c
r594 r597 737 737 ctrl = get_pam_winbind_config(); 738 738 739 if (ctrl |WINBIND_KRB5_AUTH) {739 if (ctrl & WINBIND_KRB5_AUTH) { 740 740 wb_request.flags |= WBFLAG_PAM_CONTACT_TRUSTDOM; 741 741 } -
vendor/current/source3/utils/smbget.c
r414 r597 75 75 static void human_readable(off_t s, char *buffer, int l) 76 76 { 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); 80 82 else snprintf(buffer, l, OFF_T_FORMAT"b", (OFF_T_FORMAT_CAST)s); 81 83 }
Note:
See TracChangeset
for help on using the changeset viewer.