* Remove debug printf

This commit is contained in:
pancake 2009-02-17 00:10:32 +01:00
parent 4fcf226269
commit 731472d2b9
2 changed files with 0 additions and 4 deletions

View File

@ -49,7 +49,6 @@ static void *r_cons_break_user;
static void break_signal(int sig)
{
r_cons_breaked = 1;
printf("break received\n");
if (r_cons_break_cb)
r_cons_break_cb(r_cons_break_user);
}
@ -59,7 +58,6 @@ void r_cons_break(void (*cb)(void *u), void *user)
r_cons_breaked = 0;
r_cons_break_user = user;
r_cons_break_cb = cb;
printf("break enabled\n");
#if __UNIX__
signal(SIGINT, break_signal);
#endif
@ -67,7 +65,6 @@ void r_cons_break(void (*cb)(void *u), void *user)
void r_cons_break_end()
{
printf("break end\n");
r_cons_breaked = 0;
#if __UNIX__
signal(SIGINT, SIG_IGN);

View File

@ -180,7 +180,6 @@ int r_search_kw_add(struct r_search_t *s, const char *kw, const char *bm)
k->binmask_length = r_hex_str2bin(bm, k->bin_binmask);
if (k->binmask_length == -1)
k->binmask_length = strlen(bm);
printf("kw add\n");
list_add(&(k->list), &(s->kws));
s->n_kws++;
return R_TRUE;