fix network share who
This commit is contained in:
parent
31f138dd0b
commit
d229d838b1
|
@ -780,9 +780,9 @@ static int sigar_who_net_sessions(sigar_t *sigar,
|
|||
who = &wholist->data[wholist->number++];
|
||||
|
||||
who->time = (time() - ptr->sesi10_time);
|
||||
SIGAR_W2A((LPCWSTR)ptr->sesi10_cname,
|
||||
who->user, sizeof(who->user));
|
||||
SIGAR_W2A((LPCWSTR)ptr->sesi10_username,
|
||||
who->user, sizeof(who->user));
|
||||
SIGAR_W2A((LPCWSTR)ptr->sesi10_cname,
|
||||
who->host, sizeof(who->host));
|
||||
SIGAR_SSTRCPY(who->device, "network share");
|
||||
|
||||
|
|
Loading…
Reference in New Issue