projects
/
remotetop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comments, fix binding of topd
[remotetop.git]
/
sendtop.c
diff --git
a/sendtop.c
b/sendtop.c
index
4a48662
..
ce24d62
100644
(file)
--- a/
sendtop.c
+++ b/
sendtop.c
@@
-90,6
+90,10
@@
getmeminfo(TCMsgTop *m) {
#define MEMBUFSIZE 256
+/*
+ * if str mathes by pattern returns poineter to begin of value
+ * and NULL in opposite case
+ */
static char*
cmpPattern( char *str, char *pattern ) {
while( *str != '\0' && *str == *pattern ) {