diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
commit | bdef044d942a5f75f698bef989a1e768e79d2976 (patch) | |
tree | 59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/dht/plugin_dhtlog_mysql_dump.c | |
parent | e9cf3782a3c5c2bcf6bdeff58b8a3536585791eb (diff) | |
download | gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.tar.gz gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.zip |
fixes from LRN for DEBUG code
Diffstat (limited to 'src/dht/plugin_dhtlog_mysql_dump.c')
-rw-r--r-- | src/dht/plugin_dhtlog_mysql_dump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/plugin_dhtlog_mysql_dump.c b/src/dht/plugin_dhtlog_mysql_dump.c index 8b16c155d..f8a2811b1 100644 --- a/src/dht/plugin_dhtlog_mysql_dump.c +++ b/src/dht/plugin_dhtlog_mysql_dump.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "dhtlog.h" | 35 | #include "dhtlog.h" |
36 | 36 | ||
37 | 37 | ||
38 | #define DEBUG_DHTLOG GNUNET_NO | 38 | #define DEBUG_DHTLOG GNUNET_YES |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * Maximum number of supported parameters for a prepared | 41 | * Maximum number of supported parameters for a prepared |
@@ -519,11 +519,11 @@ update_trials (unsigned long long trialuid, | |||
519 | { | 519 | { |
520 | int ret; | 520 | int ret; |
521 | #if DEBUG_DHTLOG | 521 | #if DEBUG_DHTLOG |
522 | if (trialuid != current_trial) | 522 | /* if (trialuid != current_trial) |
523 | { | 523 | { |
524 | fprintf (stderr, | 524 | fprintf (stderr, |
525 | _("Trialuid to update is not equal to current_trial\n")); | 525 | _("Trialuid to update is not equal to current_trial\n")); |
526 | } | 526 | }*/ |
527 | #endif | 527 | #endif |
528 | 528 | ||
529 | if (outfile == NULL) | 529 | if (outfile == NULL) |
@@ -586,11 +586,11 @@ add_connections (unsigned long long trialuid, unsigned int totalConnections) | |||
586 | { | 586 | { |
587 | int ret; | 587 | int ret; |
588 | #if DEBUG_DHTLOG | 588 | #if DEBUG_DHTLOG |
589 | if (trialuid != current_trial) | 589 | /* if (trialuid != current_trial) |
590 | { | 590 | { |
591 | fprintf (stderr, | 591 | fprintf (stderr, |
592 | _("Trialuid to update is not equal to current_trial(!)(?)\n")); | 592 | _("Trialuid to update is not equal to current_trial(!)(?)\n")); |
593 | } | 593 | }*/ |
594 | #endif | 594 | #endif |
595 | if (outfile == NULL) | 595 | if (outfile == NULL) |
596 | return GNUNET_SYSERR; | 596 | return GNUNET_SYSERR; |