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 "second-client.h"
|
||||
#include <gnustep/base/Connection.h>
|
||||
#include <gnustep/base/TcpPort.h>
|
||||
#include <gnustep/base/String.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <gnustep/base/Notification.h>
|
||||
#include <gnustep/base/Invocation.h>
|
||||
|
||||
|
@ -128,7 +128,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (argc > 1)
|
||||
{
|
||||
c = [Connection newRegisteringAtName: [String stringWithCString: argv[1]]
|
||||
c = [Connection newRegisteringAtName:
|
||||
[NSString stringWithCString: argv[1]]
|
||||
withRootObject:s];
|
||||
printf("Regsitered server object on localhost with "
|
||||
"name `%s'\n", argv[1]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue