remove trailing whitespace

This commit is contained in:
Love Hornquist Astrand
2011-05-21 11:57:31 -07:00
parent 25e86d6f4d
commit 0879b9831a
539 changed files with 6825 additions and 6825 deletions

View File

@@ -124,7 +124,7 @@ proto (int sock, const char *hostname, const char *service)
if (str == NULL)
errx(1, "malloc - out of memory");
name_token.value = str;
maj_stat = gss_import_name (&min_stat,
&name_token,
GSS_C_NT_HOSTBASED_SERVICE,

View File

@@ -216,7 +216,7 @@ http_query(const char *host, const char *page,
break;
else if (ret < 0)
err (1, "read: %lu", (unsigned long)ret);
in_buf[ret + in_len] = '\0';
if (state == HEADER || state == RESPONSE) {
@@ -362,7 +362,7 @@ main(int argc, char **argv)
if (verbose_flag)
printf("Negotiate found\n");
if (server == GSS_C_NO_NAME) {
char *name;
asprintf(&name, "%s@%s", gss_service, host);
@@ -474,7 +474,7 @@ main(int argc, char **argv)
base64_encode(output_token.value,
output_token.length,
&neg_token);
asprintf(&headers[0], "Authorization: Negotiate %s",
neg_token);

View File

@@ -107,7 +107,7 @@ gss_print_errors (int min_stat)
GSS_C_NO_OID,
&msg_ctx,
&status_string);
fprintf (stderr, "%.*s\n",
fprintf (stderr, "%.*s\n",
(int)status_string.length,
(char *)status_string.value);
gss_release_buffer (&new_stat, &status_string);

View File

@@ -121,7 +121,7 @@ proto (int sock, const char *service)
NULL,
NULL,
NULL);
if (status)
krb5_err(context, 1, status, "krb5_sendauth");