mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Corrected obsolete api usages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12773 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e57dc206de
commit
61fa7fb11a
7 changed files with 12 additions and 8 deletions
|
@ -480,9 +480,10 @@ int main(int argc, char *argv[], char **env)
|
|||
printf("Running...\n");
|
||||
|
||||
if (timeout)
|
||||
[NSRunLoop runUntilDate: [NSDate dateWithTimeIntervalSinceNow: timeout]];
|
||||
[[NSRunLoop currentRunLoop] runUntilDate:
|
||||
[NSDate dateWithTimeIntervalSinceNow: timeout]];
|
||||
else
|
||||
[NSRunLoop run];
|
||||
[[NSRunLoop currentRunLoop] run];
|
||||
printf("Finished\n");
|
||||
|
||||
[arp release];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue