projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7acd2f2
)
yaz-client: show operate on Odr_int
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 22 Dec 2009 13:55:15 +0000
(14:55 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 22 Dec 2009 13:55:15 +0000
(14:55 +0100)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
87a87e6
..
7add65b
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-141,7
+141,7
@@
static int scan_stepSize = 0;
static int scan_position = 1;
static int scan_size = 20;
static char cur_host[200];
-static int last_hit_count = 0;
+static Odr_int last_hit_count = 0;
typedef enum {
QueryType_Prefix,
@@
-2775,7
+2775,7
@@
static void parse_show_args(const char *arg_c, char *setstring,
if ((p = strchr(arg, '+')))
{
- *number = atoi(p + 1);
+ *number = odr_atoi(p + 1);
*p = '\0';
}
if (*arg)
@@
-2786,7
+2786,7
@@
static void parse_show_args(const char *arg_c, char *setstring,
*start = 1;
}
else
- *start = atoi(arg);
+ *start = odr_atoi(arg);
}
if (p && (p=strchr(p+1, '+')))
strcpy(setstring, p+1);