projects
/
remotetop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a213f1f
)
Remove unused UnitInfo->flag field
author
teodor
<teodor>
Thu, 29 Nov 2007 19:18:49 +0000
(19:18 +0000)
committer
teodor
<teodor>
Thu, 29 Nov 2007 19:18:49 +0000
(19:18 +0000)
td_smsg.c
patch
|
blob
|
history
top.h
patch
|
blob
|
history
diff --git
a/td_smsg.c
b/td_smsg.c
index
1a8031f
..
fd27bc3
100644
(file)
--- a/
td_smsg.c
+++ b/
td_smsg.c
@@
-42,7
+42,6
@@
addMsgTop( MassiveUnit *mu, TCMsgTop *tmsg, struct in_addr *client ) {
memcpy( &(unit.top), tmsg, sizeof( TCMsgTop ));
unit.stamp=time(NULL);
memcpy( &(unit.ip), client, sizeof(struct in_addr) );
- unit.flag = 0;
fillUnit(mu, &unit);
}
diff --git
a/top.h
b/top.h
index
e12f537
..
64a8f1b
100644
(file)
--- a/
top.h
+++ b/
top.h
@@
-47,7
+47,6
@@
typedef struct {
TCMsgTop top;
time_t stamp;
struct in_addr ip;
- u_int32_t flag;
} UnitInfo;
typedef struct {