Changeset 77 for trunk/samba/source/utils/smbcquotas.c
- Timestamp:
- Sep 30, 2007, 3:42:50 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/samba/source/utils/smbcquotas.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/utils/smbcquotas.c
r1 r77 10 10 This program is free software; you can redistribute it and/or modify 11 11 it under the terms of the GNU General Public License as published by 12 the Free Software Foundation; either version 2of the License, or12 the Free Software Foundation; either version of the License, or 13 13 (at your option) any later version. 14 14 … … 19 19 20 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 along with this program. If not, see <http://www.gnu.org/licenses/>. 23 22 */ 24 23 … … 117 116 if (!cli_open_policy_hnd() || 118 117 !NT_STATUS_IS_OK(rpccli_lsa_lookup_names(global_pipe_hnd, cli_ipc->mem_ctx, 119 &pol, 1, &str, NULL, &sids,118 &pol, 1, &str, NULL, &sids, 120 119 &types))) { 121 120 result = False; … … 403 402 BOOL fix_user = False; 404 403 SMB_NTQUOTA_STRUCT qt; 404 405 405 poptContext pc; 406 406 struct poptOption long_options[] = { … … 501 501 share = strchr_m(server,'\\'); 502 502 if (!share) { 503 share = strchr_m(server,'/'); 504 if (!share) { 505 printf("Invalid argument: %s\n", share); 506 exit(EXIT_PARSE_ERROR); 507 } 503 printf("Invalid argument: %s\n", share); 504 exit(EXIT_PARSE_ERROR); 508 505 } 509 506 … … 549 546 } 550 547 548 549 551 550 return result; 552 551 }
Note:
See TracChangeset
for help on using the changeset viewer.
