Skip to content

Commit

Permalink
Native setproctitle() returns void
Browse files Browse the repository at this point in the history
  • Loading branch information
pp3345 committed Mar 16, 2013
1 parent 538ecc5 commit 65b2e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeepTrace_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ PHP_FUNCTION(dt_set_proctitle)
RETURN_FALSE;
#else
/* Use the native call when it is available */
if(EXPECTED(setproctitle("%s", title))) RETURN_TRUE;
RETURN_FALSE;
setproctitle("%s", title);
RETURN_TRUE;
#endif
}
/* }}} */
Expand Down

0 comments on commit 65b2e50

Please sign in to comment.