Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
27ff7115db
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      build/macosx/platform_specific_code/juce_mac_Network.mm

+ 1
- 8
build/macosx/platform_specific_code/juce_mac_Network.mm View File

@@ -36,13 +36,6 @@
#include <IOKit/network/IONetworkInterface.h>
#include <IOKit/network/IOEthernetController.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
BEGIN_JUCE_NAMESPACE
#include "../../../src/juce_core/text/juce_String.h"
@@ -388,7 +381,7 @@ void* juce_openInternetFile (const String& url,
{
const String key (headerLines[i].upToFirstOccurrenceOf (T(":"), false, false).trim());
const String value (headerLines[i].fromFirstOccurrenceOf (T(":"), false, false).trim());
if (key.isNotEmpty() && value.isNotEmpty())
[req addValue: juceStringToNS (value) forHTTPHeaderField: juceStringToNS (key)];
}


Loading…
Cancel
Save