Commit 35749539 authored by davidpanderson's avatar davidpanderson

client: another small tweak

parent 4597db96
......@@ -76,8 +76,8 @@ static void get_user_agent_string() {
BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, BOINC_RELEASE
);
if (strlen(gstate.client_brand)) {
char buf[256];
snprintf(buf, sizeof(buf), " (%.80s)", gstate.client_brand);
char buf[1024];
snprintf(buf, sizeof(buf), " (%s)", gstate.client_brand);
safe_strcat(g_user_agent_string, buf);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment