mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4c1736069
commit
36f6b0301d
4 changed files with 9 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
#include <gnustep/base/Connection.h>
|
||||
#include <gnustep/base/Proxy.h>
|
||||
#include "first-server.h"
|
||||
#include <gnustep/base/String.h>
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ int main(int argc, char *argv[])
|
|||
printf("Looking for connection named `firstserver' on host `%s'...\n",
|
||||
argv[2]);
|
||||
s = [Connection rootProxyAtName:@"firstserver"
|
||||
onHost:[String stringWithCString:argv[2]]];
|
||||
onHost:[NSString stringWithCString:argv[2]]];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue