diff options
Diffstat (limited to 'source3/utils/net_status.c')
-rw-r--r-- | source3/utils/net_status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c index 2bb639138e..85d023505e 100644 --- a/source3/utils/net_status.c +++ b/source3/utils/net_status.c @@ -96,7 +96,7 @@ static int show_share(struct db_record *rec, const struct connections_data *crec, void *state) { - if (crec->cnum == -1) + if (crec->cnum == TID_FIELD_INVALID) return 0; if (!process_exists(crec->pid)) { @@ -143,7 +143,7 @@ static int show_share_parseable(const struct connections_key *key, int i; bool guest = true; - if (crec->cnum == -1) + if (crec->cnum == TID_FIELD_INVALID) return 0; if (!process_exists(crec->pid)) { |