aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-27 19:57:06 +0000
committerDr Scofield2008-06-27 19:57:06 +0000
commit3d26e6ede04389252332d9ba25016155ee607411 (patch)
tree4acc6c6c89458ecab162de1afe3a1918928de348 /OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs
parentrun NArrange on SOP to stack together the attributes, (diff)
downloadopensim-SC-3d26e6ede04389252332d9ba25016155ee607411.zip
opensim-SC-3d26e6ede04389252332d9ba25016155ee607411.tar.gz
opensim-SC-3d26e6ede04389252332d9ba25016155ee607411.tar.bz2
opensim-SC-3d26e6ede04389252332d9ba25016155ee607411.tar.xz
move along, nothing to see here. just a couple of lazy variables.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs b/OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs
index c828ef0..725322b 100644
--- a/OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs
+++ b/OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs
@@ -122,7 +122,8 @@ namespace OpenSim.Region.Environment.Modules.Scripting.LoadImageURL
122 { 122 {
123 WebRequest request = HttpWebRequest.Create(url); 123 WebRequest request = HttpWebRequest.Create(url);
124 RequestState state = new RequestState((HttpWebRequest) request, requestID); 124 RequestState state = new RequestState((HttpWebRequest) request, requestID);
125 IAsyncResult result = request.BeginGetResponse(new AsyncCallback(HttpRequestReturn), state); 125 // IAsyncResult result = request.BeginGetResponse(new AsyncCallback(HttpRequestReturn), state);
126 request.BeginGetResponse(new AsyncCallback(HttpRequestReturn), state);
126 127
127 TimeSpan t = (DateTime.UtcNow - new DateTime(1970, 1, 1)); 128 TimeSpan t = (DateTime.UtcNow - new DateTime(1970, 1, 1));
128 state.TimeOfRequest = (int) t.TotalSeconds; 129 state.TimeOfRequest = (int) t.TotalSeconds;