diff options
Diffstat (limited to 'src/AFC.c')
| -rw-r--r-- | src/AFC.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -20,7 +20,7 @@ | |||
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include "AFC.h" | 22 | #include "AFC.h" |
| 23 | 23 | #include "plist.h" | |
| 24 | // This is the maximum size an AFC data packet can be | 24 | // This is the maximum size an AFC data packet can be |
| 25 | const int MAXIMUM_PACKET_SIZE = (2 << 15) - 32; | 25 | const int MAXIMUM_PACKET_SIZE = (2 << 15) - 32; |
| 26 | 26 | ||
| @@ -211,7 +211,7 @@ static int receive_AFC_data(AFClient *client, char **dump_here) { | |||
| 211 | break; | 211 | break; |
| 212 | } | 212 | } |
| 213 | if (strstr(buffer, "CFA6LPAA")) { | 213 | if (strstr(buffer, "CFA6LPAA")) { |
| 214 | if (debug) printf("receive_AFC_data: WARNING: there is AFC data in this packet at %i\n", strstr(buffer, "CFA6LPAA") - buffer); | 214 | if (debug) printf("receive_AFC_data: WARNING: there is AFC data in this packet at %ti\n", strstr(buffer, "CFA6LPAA") - buffer); |
| 215 | if (debug) printf("receive_AFC_data: the total packet length is %i\n", bytes); | 215 | if (debug) printf("receive_AFC_data: the total packet length is %i\n", bytes); |
| 216 | //continue; // but we do need to continue because packets/headers != data | 216 | //continue; // but we do need to continue because packets/headers != data |
| 217 | } | 217 | } |
