X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fclient.c;h=0b41241e9a4d945b16cd0ea3103972efe4bec6e6;hb=87e4517be445825e8615d099cf62ecaac87cbba9;hp=7864e9d13dc70cfab79b90f3f98e118ea7c7e47d;hpb=1debfcd0628924293008d4c91bc372499d9ece87;p=spider.git diff --git a/src/client.c b/src/client.c index 7864e9d1..0b41241e 100644 --- a/src/client.c +++ b/src/client.c @@ -44,7 +44,7 @@ #define MAXPATHLEN 256 #endif -#define DEFPACLEN 128 +#define DEFPACLEN 236 #define MAXPACLEN 236 #define MAXCALLSIGN 9 @@ -387,6 +387,8 @@ int fcb_handler(sel_t *sp, int in, int out, int err) default: if (nl == '\n' && *p == '\r') { /* ignore \r in telnet mode (ugh) */ p++; + } else if (nl == '\r' && *p == '\n') { /* and ignore \n in ax25 mode (double ugh) */ + p++; } else if (*p == nl) { if (mp->inp == mp->data) *mp->inp++ = ' ';