summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-02-02 15:56:52 +0100
committerHisham <hisham@gobolinux.org>2016-02-02 15:56:52 +0100
commit1cfcc42a8f8982197d1cca2711c0633df5591d96 (patch)
tree9fb97e83913a939dc62884a2af1171437fc6eb78 /Process.h
parent301c346c85a761861e282f164dd9a7ff34cd6193 (diff)
Reuse comm object if possible, avoid useless repetitions of free+strdup.
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index d856c035..c9aa3e12 100644
--- a/Process.h
+++ b/Process.h
@@ -68,6 +68,7 @@ typedef struct Process_ {
pid_t ppid;
pid_t tgid;
char* comm;
+ int commLen;
int indent;
int basenameOffset;

© 2014-2024 Faster IT GmbH | imprint | privacy policy