eventload: shorter usernames (max 9 chars)
This commit is contained in:
parent
36e3c02b0b
commit
56a171b2d6
|
|
@ -205,7 +205,7 @@ void flood_round(struct floodthread_t *self)
|
|||
continue;
|
||||
}
|
||||
|
||||
sprintf(username, "%03x%06x", getpid(), fd);
|
||||
sprintf(username, "%03x%05x", getpid(), fd);
|
||||
wbufpos = snprintf(wbuf, WBUFLEN, "user %s pass %d\r\n", username, aprs_passcode(username));
|
||||
int w = write(fd, wbuf, wbufpos);
|
||||
if (w != wbufpos) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue