… | … | ||
---|---|---|---|
109 | char *data; | 109 | char *data; |
110 | int datalen; | 110 | int datalen; |
111 | 111 | ||
112 | ~command () | 112 | ~command () |
113 | { | 113 | { |
114 | sfree (data, datalen); | 114 | sfree<char> (data, datalen + 1); |
115 | } | 115 | } |
116 | }; | 116 | }; |
117 | 117 | ||
118 | /* how many times we are allowed to give the wrong password before being kicked. */ | 118 | /* how many times we are allowed to give the wrong password before being kicked. */ |
119 | #define MAX_PASSWORD_FAILURES 5 | 119 | #define MAX_PASSWORD_FAILURES 5 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |