summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-12-15 13:24:28 +0000
committerSimon Josefsson <simon@josefsson.org>2005-12-15 13:24:28 +0000
commit24214e48b4d4328d5a5afbfa19acbbbec30274c9 (patch)
treef80ae5a0d9a98f571a0ff1182265c30451cea62c /lib/gnutls_extensions.c
parent667527f161cb4a694a78db129cb2d4519800260b (diff)
downloadgnutls-24214e48b4d4328d5a5afbfa19acbbbec30274c9.tar.gz
Indent more.
Diffstat (limited to 'lib/gnutls_extensions.c')
-rw-r--r--lib/gnutls_extensions.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gnutls_extensions.c b/lib/gnutls_extensions.c
index def360b895..c1ea2cfd11 100644
--- a/lib/gnutls_extensions.c
+++ b/lib/gnutls_extensions.c
@@ -60,9 +60,9 @@ gnutls_extension_entry _gnutls_extensions[MAX_EXT_SIZE] = {
_gnutls_srp_recv_params,
_gnutls_srp_send_params),
#endif
- GNUTLS_EXTENSION_ENTRY(GNUTLS_EXTENSION_INNER_APPLICATION,
- _gnutls_inner_application_recv_params,
- _gnutls_inner_application_send_params),
+ GNUTLS_EXTENSION_ENTRY (GNUTLS_EXTENSION_INNER_APPLICATION,
+ _gnutls_inner_application_recv_params,
+ _gnutls_inner_application_send_params),
{0, 0, 0, 0}
};
@@ -246,9 +246,9 @@ _gnutls_gen_extensions (gnutls_session_t session, opaque * data,
}
pos += 2;
- for(p = _gnutls_extensions; p->name != NULL; p++)
+ for (p = _gnutls_extensions; p->name != NULL; p++)
{
- ext_send = _gnutls_ext_func_send(p->type);
+ ext_send = _gnutls_ext_func_send (p->type);
if (ext_send == NULL)
continue;
size = ext_send (session, sdata, sdata_size);
@@ -262,7 +262,7 @@ _gnutls_gen_extensions (gnutls_session_t session, opaque * data,
}
/* write extension type */
- _gnutls_write_uint16(p->type, &data[pos]);
+ _gnutls_write_uint16 (p->type, &data[pos]);
pos += 2;
/* write size */
@@ -274,7 +274,7 @@ _gnutls_gen_extensions (gnutls_session_t session, opaque * data,
/* add this extension to the extension list
*/
- _gnutls_extension_list_add(session, p->type);
+ _gnutls_extension_list_add (session, p->type);
_gnutls_debug_log ("EXT[%x]: Sending extension %s\n", session,
_gnutls_extension_get_name (p->type));