diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e6e309..252a887 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Next version - Fixed a bug where v1.8.1 would not handle timeouts correctly using the Win32 API. The changes are queued for the next version, though I've already included them in the released binaries. +- Fixed a bug in APRS server negotiation. The `vers` field expects the app name and version, separated by a space; however, I was separating it with a forward slash instead. ## Version 1.8.1 diff --git a/src/aprs-is.c b/src/aprs-is.c index 1ff57db..c5783da 100755 --- a/src/aprs-is.c +++ b/src/aprs-is.c @@ -217,7 +217,7 @@ sendPacket (const char* const restrict server, } /* Authenticate */ - sprintf(buffer, "user %s pass %s vers %s/%s\n", + sprintf(buffer, "user %s pass %s vers %s %s\n", username, password, PACKAGE, VERSION); #ifdef DEBUG printf("> %s", buffer);