]> git.zerfleddert.de Git - hmcfgusb/blobdiff - hm.c
Cleanup: Use correct format string
[hmcfgusb] / hm.c
diff --git a/hm.c b/hm.c
index 818081fcc4cc0f64a4fd7dc51098bfaf342108fa..012250073a92d7983cde954bf509270b04578101 100644 (file)
--- a/hm.c
+++ b/hm.c
@@ -1,6 +1,6 @@
 /* HomeMatic protocol-functions
  *
- * Copyright (c) 2014-15 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2014-16 Michael Gernoth <michael@gernoth.net>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -96,7 +96,7 @@ uint8_t* hm_sign(uint8_t *key, uint8_t *challenge, uint8_t *m_frame, uint8_t *ex
                        break;
                }
 
-               resp[i] ^= m_frame[PAYLOAD + 1+ i];
+               resp[i] ^= m_frame[PAYLOAD + 1 + i];
        }
 
        if (debug)
Impressum, Datenschutz