Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ac15cd
)
popt-1.5 is const-correct.
author
Martin Pool
<mbp@samba.org>
Sat, 24 Feb 2001 01:39:19 +0000
(
01:39
+0000)
committer
Martin Pool
<mbp@samba.org>
Sat, 24 Feb 2001 01:39:19 +0000
(
01:39
+0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
c49f948
..
4c34e4c
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-125,7
+125,7
@@
static void print_rsync_version(int f)
hardlinks, links);
#ifdef NO_INT64
hardlinks, links);
#ifdef NO_INT64
- rprintf(
logcode
, "WARNING: no 64-bit integers on this platform!\n");
+ rprintf(
f
, "WARNING: no 64-bit integers on this platform!\n");
#endif
}
#endif
}
@@
-361,8
+361,7
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
/* The context leaks in case of an error, but if there's a
* problem we always exit anyhow. */
/* The context leaks in case of an error, but if there's a
* problem we always exit anyhow. */
- pc = poptGetContext(RSYNC_NAME, *argc, (const char **) *argv,
- long_options, 0);
+ pc = poptGetContext(RSYNC_NAME, *argc, *argv, long_options, 0);
while ((opt = poptGetNextOpt(pc)) != -1) {
if (ref) {
while ((opt = poptGetNextOpt(pc)) != -1) {
if (ref) {