projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
afs: Rename sc_send_result() to afs_cb_result_handler().
[paraslash.git]
/
attribute.c
diff --git
a/attribute.c
b/attribute.c
index
9fddc1c
..
7532711
100644
(file)
--- a/
attribute.c
+++ b/
attribute.c
@@
-206,7
+206,7
@@
int com_lsatt(struct command_context *cc)
}
}
ret = send_option_arg_callback_request(&options, cc->argc - i, cc->argv + i,
}
}
ret = send_option_arg_callback_request(&options, cc->argc - i, cc->argv + i,
- com_lsatt_callback,
sc_send_result
, cc);
+ com_lsatt_callback,
afs_cb_result_handler
, cc);
if (!ret) {
if (cc->argc > 1)
ret = sc_send_va_buffer(&cc->scc, "no matches\n");
if (!ret) {
if (cc->argc > 1)
ret = sc_send_va_buffer(&cc->scc, "no matches\n");
@@
-369,7
+369,7
@@
int com_addatt(struct command_context *cc)
if (cc->argc < 2)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
if (cc->argc < 2)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
- com_addatt_callback,
sc_send_result
, cc);
+ com_addatt_callback,
afs_cb_result_handler
, cc);
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;
@@
-414,7
+414,7
@@
int com_mvatt(struct command_context *cc)
if (cc->argc != 3)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
if (cc->argc != 3)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
- com_mvatt_callback,
sc_send_result
, cc);
+ com_mvatt_callback,
afs_cb_result_handler
, cc);
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;
@@
-488,7
+488,7
@@
int com_rmatt(struct command_context *cc)
if (cc->argc < 2)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
if (cc->argc < 2)
return -E_ATTR_SYNTAX;
ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1,
- com_rmatt_callback,
sc_send_result
, cc);
+ com_rmatt_callback,
afs_cb_result_handler
, cc);
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;
if (ret < 0)
sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret));
return ret;