From: Greg Kroah-Hartman Date: Fri, 18 Feb 2011 23:44:16 +0000 (-0800) Subject: Merge branch 'trivial-fixes' of https://github.com/agimenez/bti into agimenez-trivial... X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/d77d22da5257c11cc06df0291ec2d2996bb8603b?hp=7fb56a1cc530beccd2c7126f21b7d347f5596614 Merge branch 'trivial-fixes' of https://github.com/agimenez/bti into agimenez-trivial-fixes Conflicts: bti.c --- diff --git a/bti.c b/bti.c index 9c3b7f4..18b8116 100644 --- a/bti.c +++ b/bti.c @@ -284,8 +284,8 @@ static CURL *curl_init(void) } /* The final place data is sent to the screen/pty/tty */ -static void bti_output_line(struct session *session, xmlChar *user, xmlChar *id, - xmlChar *created, xmlChar *text) +static void bti_output_line(struct session *session, xmlChar *user, + xmlChar *id, xmlChar *created, xmlChar *text) { if (session->verbose) printf("[%s] {%s} (%.16s) %s\n", user, id, created, text); diff --git a/config.c b/config.c index 7315c69..346fed8 100644 --- a/config.c +++ b/config.c @@ -140,7 +140,7 @@ static int get_key(struct session *session, char *line, char **key, char **value * the value. */ } - printf("%s = %s\n", *key, *value); + /* printf("%s = %s\n", *key, *value); */ return 0; } @@ -309,7 +309,10 @@ static void process_line(struct session *session, char *key, char *value) break; if (strncasecmp(item->key, key, strlen(item->key)) == 0) { - printf("calling %p, for key = '%s' and value = '%s'\n", item->callback, key, value); + /* + * printf("calling %p, for key = '%s' and value = * '%s'\n", + * item->callback, key, value); + */ result = item->callback(session, value); if (!result) return;