X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;ds=sidebyside;f=tags.c;h=96e737867d30f95152e0e91faaf2944880823a1e;hb=82f9ef6f267b3fcbd0052ef809dbe6df5de5a925;hp=d5cc48a385c61b377e39b407b1182caac8c96539;hpb=dec3a4b3263428134fee45f65b569f76ca5b8060;p=blerg.git diff --git a/tags.c b/tags.c index d5cc48a..96e7378 100644 --- a/tags.c +++ b/tags.c @@ -23,8 +23,8 @@ int tag_scan(const char *author, const char *data, int len, uint64_t record) { tag_scan_start: if (data[i] == '#') { if (n_tags == MAX_TAGS) { - fprintf(stderr, "Too many tags in message"); - continue; + fprintf(stderr, "Too many tags in message\n"); + break; } int start = ++i; while (i < len && TAG_CHAR(data[i]) && (i - start < MAX_TAG_LENGTH)) {