summaryrefslogtreecommitdiffstats
path: root/src/afc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afc.c')
-rw-r--r--src/afc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afc.c b/src/afc.c
index fe99852..17273e2 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -235,7 +235,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **bytes, uint32_t
235 } 235 }
236 236
237 /* check if it's a valid AFC header */ 237 /* check if it's a valid AFC header */
238 if (strncmp(header.magic, AFC_MAGIC, AFC_MAGIC_LEN)) { 238 if (strncmp(header.magic, AFC_MAGIC, AFC_MAGIC_LEN) != 0) {
239 debug_info("Invalid AFC packet received (magic != " AFC_MAGIC ")!"); 239 debug_info("Invalid AFC packet received (magic != " AFC_MAGIC ")!");
240 } 240 }
241 241