diff options
author | Dr Scofield | 2008-06-27 19:57:06 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 19:57:06 +0000 |
commit | 3d26e6ede04389252332d9ba25016155ee607411 (patch) | |
tree | 4acc6c6c89458ecab162de1afe3a1918928de348 /OpenSim/Region/Environment/Modules/Scripting/LoadImageURL/LoadImageURLModule.cs | |
parent | run NArrange on SOP to stack together the attributes, (diff) | |
download | opensim-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.cs | 3 |
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; |