git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0159244
)
Fix segfault by getting this the right way around
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 Apr 2003 14:23:01 +0000
(14:23 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 16 Apr 2003 14:23:01 +0000
(14:23 +0000)
source/utils/net.c
patch
|
blob
|
history
diff --git
a/source/utils/net.c
b/source/utils/net.c
index 5d526e22dfe102fc7d7803de3c6e822ad27ad697..a2ce1f5f1ad80e8dc4659bf13c4d2664f3ddc150 100644
(file)
--- a/
source/utils/net.c
+++ b/
source/utils/net.c
@@
-79,7
+79,7
@@
struct in_addr opt_dest_ip;
uint32 get_sec_channel_type(const char *param)
{
- if (
param && *param
) {
+ if (
!(param && *param)
) {
return get_default_sec_channel();
} else {
if (strcasecmp(param, "PDC")==0) {