mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
76ecc3fa9e
commit
dd156f6a34
4 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "second-client.h"
|
||||
#include <gnustep/base/String.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <gnustep/base/Notification.h>
|
||||
#include <gnustep/base/Invocation.h>
|
||||
#include <gnustep/base/RunLoop.h>
|
||||
|
@ -25,7 +25,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
printf("Looking up server object on localhost with name `secondserver'\n");
|
||||
if (argc > 1)
|
||||
server = [Connection rootProxyAtName: [String stringWithCString: argv[1]]];
|
||||
server = [Connection rootProxyAtName:
|
||||
[NSString stringWithCString: argv[1]]];
|
||||
else
|
||||
server = [Connection rootProxyAtName: @"secondserver"];
|
||||
printf("Found server.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue