Commit ef4d91bd authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

api: Fix number of signals

We have 10 signals, not 11.  Setting 11 results in reading
beyond the signals defined and trying to create signals with
NULL values.
parent d03e4735
......@@ -564,7 +564,7 @@ typedef enum {
* When adding a new signal: increase this number and add the name, handler function, and handler function type
* to the respective array.
*/
#define NUM_OF_SIGNALS 11
#define NUM_OF_SIGNALS 10
const char * signal_names[NUM_OF_SIGNALS] = {
"lurch-id-list",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment