Commit 04b0fdd6 authored by Petr Baudis's avatar Petr Baudis
Browse files

compctld: Fix the begins_with() macro

parent 743d5655
......@@ -14,7 +14,7 @@
#include "common.h"
#define begins_with(s_, a_) (!strncmp(s_, a_, sizeof(a_)))
#define begins_with(s_, a_) (!strncmp(s_, a_, sizeof(s_) - 1))
void
......
Supports Markdown
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