Skip to content

Commit d80fff2

Browse files
committed
ext/standard/scanf.h: use 0 instead of SUCCESS to define scan success value
1 parent 6c16086 commit d80fff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/scanf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/* upper limit to keep resources in check and */
2424
/* minimize the possibility of exploits */
2525

26-
#define SCAN_SUCCESS SUCCESS
26+
#define SCAN_SUCCESS 0
2727
#define SCAN_ERROR_EOF -1 /* indicates premature termination of scan */
2828
/* can be caused by bad parameters or format*/
2929
/* string. */

0 commit comments

Comments
 (0)