| 1178 | |
| 1179 | |
| 1180 | void handleRejectMessage(void* msg) { |
| 1181 | void* buf; |
| 1182 | char buffer[MessageLen]; |
| 1183 | uint16_t rejcode; |
| 1184 | std::string reason; |
| 1185 | |
| 1186 | buf = nboUnpackUInt16(msg, rejcode); // filler for now |
| 1187 | buf = nboUnpackString(buf, buffer, MessageLen); |
| 1188 | buffer[MessageLen - 1] = '\0'; |
| 1189 | reason = buffer; |
| 1190 | showError(reason.c_str()); |
| 1191 | } |
| 1192 | |
| 1193 | |
| 1194 | void handleFlagNegotiation(void* msg, uint16_t len) { |
no test coverage detected