Fix user agent string. Closes #381

This commit is contained in:
Steveice10 2017-07-31 16:10:07 -07:00
parent ff250b7974
commit c004695469

View File

@ -684,7 +684,8 @@ u16* util_select_bnr_title(BNR* bnr) {
#define HTTP_TIMEOUT 15000000000
#define MAKE_HTTP_USER_AGENT(major, minor, micro) ("Mozilla/5.0 (Nintendo 3DS; Mobile; rv:10.0) Gecko/20100101 FBI/" #major "." #minor "." #micro)
#define MAKE_HTTP_USER_AGENT_(major, minor, micro) ("Mozilla/5.0 (Nintendo 3DS; Mobile; rv:10.0) Gecko/20100101 FBI/" #major "." #minor "." #micro)
#define MAKE_HTTP_USER_AGENT(major, minor, micro) MAKE_HTTP_USER_AGENT_(major, minor, micro)
#define HTTP_USER_AGENT MAKE_HTTP_USER_AGENT(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
static char util_dec2hex(u8 c) {