diff options
author | Dave Beckett <dave@dajobe.org> | 2010-01-05 18:50:00 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-01-05 18:50:00 -0800 |
commit | 074e2ecf23d821f7731ef880fd3788e1d92926b2 (patch) | |
tree | b3c5d1e1e81754eb5d76b5f40f49ac62f4679ef8 /src/raptor_www_libfetch.c | |
parent | 9c72b22bb44f9f49fc776d0b48f860133f004f61 (diff) | |
download | raptor-074e2ecf23d821f7731ef880fd3788e1d92926b2.tar.gz |
Code style - whitespace around assignment and comparison ops
Diffstat (limited to 'src/raptor_www_libfetch.c')
-rw-r--r-- | src/raptor_www_libfetch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/raptor_www_libfetch.c b/src/raptor_www_libfetch.c index 0f5c749a..2891c687 100644 --- a/src/raptor_www_libfetch.c +++ b/src/raptor_www_libfetch.c @@ -72,18 +72,18 @@ raptor_www_libfetch_fetch(raptor_www *www) if(www->user_agent) setenv("HTTP_USER_AGENT", www->user_agent, 0); - stream=fetchXGetURL((const char*)raptor_uri_as_string_v2(www->world, www->uri), NULL, NULL); + stream = fetchXGetURL((const char*)raptor_uri_as_string_v2(www->world, www->uri), NULL, NULL); if(!stream) { - www->failed=1; + www->failed = 1; raptor_www_error(www, "%s", fetchLastErrString); return 1; } /* fetch does not give us access to this */ - www->status_code=200; + www->status_code = 200; while(!feof(stream)) { - size_t len=fread(www->buffer, 1, RAPTOR_WWW_BUFFER_SIZE, stream); + size_t len = fread(www->buffer, 1, RAPTOR_WWW_BUFFER_SIZE, stream); www->total_bytes += len; |