#include "base64.h"
#include "s3.h"
-#ifndef WANT_DEVPAY
-# error activate_devpay only works if devpay is enabled.
-#endif
-
#define MAX_RESPONSE_SIZE (1024*1024)
typedef struct {
/* Do nothing; wait for the message. */
}
} else if (g_strrstr(current_tag, "Message")) {
- g_set_error(error, G_MARKUP_ERROR, -1, "%.*s", text_len, text);
+ g_set_error(error, G_MARKUP_ERROR, -1, "%.*s", (int)text_len, text);
}
}
exit(EXIT_FAILURE);
}
- g_printf("device_property \"S3_USER_TOKEN\" \"%s\"\n"
- "device_property \"S3_ACCESS_KEY\" \"%s\"\n"
- "device_property \"S3_SECRET_KEY\" \"%s\"\n",
+ g_printf("device-property \"S3_USER_TOKEN\" \"%s\"\n"
+ "device-property \"S3_ACCESS_KEY\" \"%s\"\n"
+ "device-property \"S3_SECRET_KEY\" \"%s\"\n",
rare->user_token->str, rare->access_key->str,
rare->secret_key->str);
}