From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- common/http.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'common/http.h') diff --git a/common/http.h b/common/http.h index 7eecbc004..50c478c84 100644 --- a/common/http.h +++ b/common/http.h @@ -1,7 +1,7 @@ /* http.h - HTTP protocol handler * Copyright (C) 1999, 2000, 2001, 2003, 2006, * 2010 Free Software Foundation, Inc. - * + * * This file is part of GnuPG. * * GnuPG is free software; you can redistribute it and/or modify @@ -18,12 +18,12 @@ * along with this program; if not, see . */ #ifndef GNUPG_COMMON_HTTP_H -#define GNUPG_COMMON_HTTP_H +#define GNUPG_COMMON_HTTP_H #include #include "../common/estream.h" -struct uri_tuple_s +struct uri_tuple_s { struct uri_tuple_s *next; const char *name; /* A pointer into name. */ @@ -34,7 +34,7 @@ struct uri_tuple_s }; typedef struct uri_tuple_s *uri_tuple_t; -struct parsed_uri_s +struct parsed_uri_s { /* All these pointers point into BUFFER; most stuff is not escaped. */ char *scheme; /* Pointer to the scheme string (always lowercase). */ @@ -50,17 +50,17 @@ struct parsed_uri_s }; typedef struct parsed_uri_s *parsed_uri_t; -typedef enum +typedef enum { HTTP_REQ_GET = 1, HTTP_REQ_HEAD = 2, HTTP_REQ_POST = 3 - } + } http_req_t; /* We put the flag values into an enum, so that gdb can display them. */ enum - { + { HTTP_FLAG_TRY_PROXY = 1, HTTP_FLAG_SHUTDOWN = 2, HTTP_FLAG_LOG_RESP = 8, -- cgit v1.2.3