mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- A more appropriate patch than that provided by r473695.
This commit is contained in:
parent
8327de13f1
commit
285a20802e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473763
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
const char *tmpdir = theDXApplication->getTmpDirectory();
|
const char *tmpdir = theDXApplication->getTmpDirectory();
|
||||||
int tmpdirlen = STRLEN(tmpdir);
|
int tmpdirlen = STRLEN(tmpdir);
|
||||||
- if (!tmpdirlen) return FALSE;
|
- if (!tmpdirlen) return FALSE;
|
||||||
+ if (!tmpdirlen) return (char*) FALSE;
|
+ if (!tmpdirlen) return NULL;
|
||||||
if (tmpdir[tmpdirlen-1] == '/') {
|
if (tmpdir[tmpdirlen-1] == '/') {
|
||||||
sprintf(netfilename, "%sdx%d.net", tmpdir, getpid());
|
sprintf(netfilename, "%sdx%d.net", tmpdir, getpid());
|
||||||
sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());
|
sprintf(cfgfilename, "%sdx%d.cfg", tmpdir, getpid());
|
||||||
|
|
Loading…
Add table
Reference in a new issue