Diff of /src/http.c [aeb8a9] .. [6b8ec8]  Maximize  Restore

  Switch to side-by-side view

--- a/src/http.c
+++ b/src/http.c
@@ -230,7 +230,7 @@
       *authcolon = '\0';
 
       if (password != NULL)
-      	*password = authcolon + 1;
+	*password = authcolon + 1;
     }
 
     if (host != NULL)
@@ -363,7 +363,7 @@
       this->proxyport = DEFAULT_HTTP_PORT;
 
     if (this->proxyuser != NULL &&
-        http_basicauth (this->proxyuser, this->proxypassword,
+	http_basicauth (this->proxyuser, this->proxypassword,
 			this->proxyauth, BUFSIZE))
     {
       report_error (location, _("proxy authentication error"));
@@ -493,7 +493,7 @@
 
       if (linenum == 1)
       {
-        int httpver, httpsub, httpcode;
+	int httpver, httpsub, httpcode;
 	char httpstatus[BUFSIZE];
 
 	if (sscanf(this->buf, "HTTP/%d.%d %d %[^\015\012]", &httpver, &httpsub,
@@ -540,9 +540,9 @@
 	    logprintf ("http: content length = %ld bytes\n", contentlength);
 	    this->contentlength = contentlength;
 	  }
-        }
-        if (sscanf(this->buf, "Content-Type: %"BUFSIZE_STR"s", mime_type) == 1)
-        {
+	}
+	if (sscanf(this->buf, "Content-Type: %"BUFSIZE_STR"s", mime_type) == 1)
+	{
 	  logprintf ("http: content type = '%s'\n", mime_type);
 	  strcpy (this->mime_type, mime_type); /* note buffer sizes */
 	}
@@ -612,7 +612,7 @@
 	logprintf ("http: EAGAIN\n");
 	continue;
       default:
-        /* FIXME: report errno in a window? */
+	/* FIXME: report errno in a window? */
 	g_print (_("http: read error: %s\n"), strerror (errno));
 	free(buf);
 	return NULL;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks