git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Fix bug #7781 (Samba transforms "ShareName" to lowercase when adding new...
[samba.git]
/
source3
/
lib
/
util_str.c
diff --git
a/source3/lib/util_str.c
b/source3/lib/util_str.c
index 17a4a8f2c4e9727f56a0c559d70de14ac4c14c57..d86963702e03ebc73365d327f08f5f090e098e16 100644
(file)
--- a/
source3/lib/util_str.c
+++ b/
source3/lib/util_str.c
@@
-2301,10
+2301,6
@@
bool validate_net_name( const char *name,
{
int i;
- if (!name) {
- return false;
- }
-
for ( i=0; i<max_len && name[i]; i++ ) {
/* fail if strchr_m() finds one of the invalid characters */
if ( name[i] && strchr_m( invalid_chars, name[i] ) ) {