|
@@ -82,7 +82,6 @@ static inline int event_parser(char* _s, int _l, event_t* _e)
|
|
|
{
|
|
|
str tmp;
|
|
|
char* end;
|
|
|
- char buf[128];
|
|
|
|
|
|
tmp.s = _s;
|
|
|
tmp.len = _l;
|
|
@@ -100,9 +99,6 @@ static inline int event_parser(char* _s, int _l, event_t* _e)
|
|
|
|
|
|
_e->text.len = end - tmp.s;
|
|
|
|
|
|
- strncpy(buf, tmp.s, tmp.len);
|
|
|
- buf[tmp.len] = 0;
|
|
|
-
|
|
|
if ((_e->text.len == PRES_STR_LEN) &&
|
|
|
!strncasecmp(PRES_STR, tmp.s, _e->text.len)) {
|
|
|
_e->parsed = EVENT_PRESENCE;
|