diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-02 16:19:08 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-02 16:19:08 -0500 |
commit | d49db7d0981861d979765647cce3c6468a012301 (patch) | |
tree | f6d8c12a34978292337954daa85acd5031b4c8ec /src/relocation.c | |
parent | e30c8ffa406e377432bae6a9b7fbd41b046da201 (diff) | |
download | spmc-d49db7d0981861d979765647cce3c6468a012301.tar.gz |
Refactor startswith() and endswidth() usage
Diffstat (limited to 'src/relocation.c')
-rw-r--r-- | src/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relocation.c b/src/relocation.c index 1c5b1cf..2ef72eb 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -184,7 +184,7 @@ RelocationEntry **prefixes_read(const char *filename) { if (isempty(lptr)) { continue; } - if (startswith(lptr, "#") == 0) { + if (startswith(lptr, "#")) { do_prefix = 1; } else { |