projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding DEBUG logic for #3863
[oweals/gnunet.git]
/
src
/
ats-tests
/
perf_ats.c
diff --git
a/src/ats-tests/perf_ats.c
b/src/ats-tests/perf_ats.c
index 5db2f3b244a839961c39af54e639cbff1dd50c0a..e0affb4f91a059c589c0bf7213a815e3645f1359 100644
(file)
--- a/
src/ats-tests/perf_ats.c
+++ b/
src/ats-tests/perf_ats.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA.
+ Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA.
*/
/**
* @file ats/perf_ats.c
*/
/**
* @file ats/perf_ats.c
@@
-364,7
+364,7
@@
main (int argc, char *argv[])
char *conf_name;
char *comm_name;
char *dotexe;
char *conf_name;
char *comm_name;
char *dotexe;
- char *prefs[
GNUNET_ATS_PreferenceCount
] = GNUNET_ATS_PreferenceTypeString;
+ char *prefs[] = GNUNET_ATS_PreferenceTypeString;
int c;
result = 0;
int c;
result = 0;
@@
-432,7
+432,7
@@
main (int argc, char *argv[])
if (0 != strcmp (pref_str, "NONE"))
{
if (0 != strcmp (pref_str, "NONE"))
{
- for (c =
1; c < GNUNET_ATS_PreferenceCount
; c++)
+ for (c =
0; c < GNUNET_ATS_PREFERENCE_END
; c++)
{
if (0 == strcmp (pref_str, prefs[c]))
{
{
if (0 == strcmp (pref_str, prefs[c]))
{