mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-25 19:04:21 +03:00
Reflow useragent.c to be 8 char indent. Also rename build_user_agent to user_agent_build_string so that all useragent.c starts user_agent_*
svn path=/trunk/netsurf/; revision=3334
This commit is contained in:
parent
e671fe3707
commit
9ef3a2cd57
@ -23,7 +23,7 @@ static const char *core_user_agent_string = NULL;
|
||||
* user agent in HTTP requests.
|
||||
*/
|
||||
static void
|
||||
build_user_agent(void)
|
||||
user_agent_build_string(void)
|
||||
{
|
||||
struct utsname un;
|
||||
const char *sysname = "Unknown";
|
||||
@ -63,6 +63,6 @@ const char *
|
||||
user_agent_string(void)
|
||||
{
|
||||
if (core_user_agent_string == NULL)
|
||||
build_user_agent();
|
||||
user_agent_build_string();
|
||||
return core_user_agent_string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user