fixed bug reported by bogon (with the sideeffect of empty ws until select)

This commit is contained in:
Anselm R. Garbe 2006-03-07 19:37:26 +01:00
parent e4d1df57e6
commit bf9a872c4d
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,7 @@ update_ctags()
fprintf(stderr, "%s", "update_ctags\n"); fprintf(stderr, "%s", "update_ctags\n");
for(i = 0; i < nctag; i++) { for(i = 0; i < nctag; i++) {
#if 0
Bool exists = False; Bool exists = False;
for(j = 0; j < nclient; j++) for(j = 0; j < nclient; j++)
if(strstr(client[j]->tags, ctag[i])) if(strstr(client[j]->tags, ctag[i]))
@ -206,6 +207,7 @@ update_ctags()
j--; j--;
} }
} }
#endif
free(ctag[i]); free(ctag[i]);
ctag[i] = nil; ctag[i] = nil;
} }