X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=common%2Fstringbucket.c;h=27c10238c496efd3262a04f1fbf574a61151a09e;hb=c38b2e192d8de8ef38389cc8071881464fff99bb;hp=d892541d8d6ac856b09ba3337672b6f923624962;hpb=65363bdbdec43b2efd906d8fa848fc4d69c529d2;p=blerg.git diff --git a/common/stringbucket.c b/common/stringbucket.c index d892541..27c1023 100644 --- a/common/stringbucket.c +++ b/common/stringbucket.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -91,6 +92,7 @@ int stringbucket_delete(struct stringbucket *sb, const char *string) { /* We doin' it DOS style! */ sb->list[pos] = 0; + return 1; } void stringbucket_iterate(struct stringbucket *sb, void (*iter)(char *, void *), void *stuff) {