mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
get the test for disconnection the right way around!
This commit is contained in:
parent
19546bdd55
commit
ed80311b41
@ -163,11 +163,11 @@ enum winbindd_result winbindd_show_sequence(struct winbindd_cli_state *state)
|
||||
domain->methods->sequence_number(domain, &domain->sequence_number);
|
||||
|
||||
if (DOM_SEQUENCE_NONE == (unsigned)domain->sequence_number) {
|
||||
asprintf(&s,"%s%s : %u\n", extra_data,
|
||||
domain->name, (unsigned)domain->sequence_number);
|
||||
} else {
|
||||
asprintf(&s,"%s%s : DISCONNECTED\n", extra_data,
|
||||
domain->name);
|
||||
} else {
|
||||
asprintf(&s,"%s%s : %u\n", extra_data,
|
||||
domain->name, (unsigned)domain->sequence_number);
|
||||
}
|
||||
free(extra_data);
|
||||
extra_data = s;
|
||||
|
Loading…
Reference in New Issue
Block a user