}
/* Called when we've set a namepart */
-static void set_namepart_completed(void *v, const char *error) {
- if(error)
- popup_protocol_error(0, error);
+static void set_namepart_completed(void *v, const char *err) {
+ if(err)
+ popup_protocol_error(0, err);
else {
struct prefdata *f = v;
}
static void set_string_completed(void attribute((unused)) *v,
- const char *error) {
- if(error)
- popup_protocol_error(0, error);
+ const char *err) {
+ if(err)
+ popup_protocol_error(0, err);
}
static void set_string(struct prefdata *f, const char *value) {
}
/* Got the value of a pref */
-static void prefdata_completed(void *v, const char *error, const char *value) {
- if(error) {
+static void prefdata_completed(void *v, const char *err, const char *value) {
+ if(err) {
} else {
struct callbackdata *cbd = v;