chipper 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/src/chipper.cc +1 -1
- data/ext/src/version.h +1 -1
- metadata +2 -2
data/ext/src/chipper.cc
CHANGED
@@ -61,7 +61,7 @@ void remove(char *string, const char *pattern) {
|
|
61
61
|
char *sanitized = (char *)malloc(strlen(string) + 1), *src = string, *dst = sanitized;
|
62
62
|
|
63
63
|
while (*src) {
|
64
|
-
if (
|
64
|
+
if (strncmp(src, pattern, width) == 0)
|
65
65
|
src += width;
|
66
66
|
else
|
67
67
|
*dst++ = *src++;
|
data/ext/src/version.h
CHANGED
@@ -1 +1 @@
|
|
1
|
-
#define CHIPPER_VERSION "0.4.
|
1
|
+
#define CHIPPER_VERSION "0.4.4"
|