summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2008-09-10 12:05:18 +0200
committerKai Blin <kai@samba.org>2008-09-10 12:05:18 +0200
commit5b54781e1c63be1f63b601f74cf8d4cc5eb788d1 (patch)
tree2509eebbdb6ad1fae0a7578d8d5281bcbf1ba24a /source3/utils/net.h
parent40b93006c1ea1d6527d669a285a118ce86432d58 (diff)
downloadsamba-5b54781e1c63be1f63b601f74cf8d4cc5eb788d1.tar.gz
samba-5b54781e1c63be1f63b601f74cf8d4cc5eb788d1.tar.bz2
samba-5b54781e1c63be1f63b601f74cf8d4cc5eb788d1.zip
net: share_type is defined in net_rap.c, net_rpc.c needs to use that.
This fixes a crash in net rpc share that Günther Deschner found. (This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index e7f9ce03be..5dc2b11d4e 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -68,7 +68,6 @@ struct net_context {
bool display_usage;
void *private_data;
- const char *share_type[];
};
#define NET_TRANSPORT_LOCAL 0x01