1 --- php4/ext/standard/mail.c 2 Apr 2001 16:37:50 -0000 1.41
2 +++ php4/ext/standard/mail.c 25 Sep 2001 22:48:43 -0000 1.44
4 +----------------------------------------------------------------------+
15 convert_to_string_ex(pstr);
16 - if ((*pstr)->value.str.val) {
17 - str = (*pstr)->value.str.val;
18 + if (Z_STRVAL_PP(pstr)) {
19 + str = Z_STRVAL_PP(pstr);
21 php_error(E_WARNING, "Must give string parameter to ezmlm_hash()");
26 convert_to_string_ex(argv[0]);
27 - if ((*argv[0])->value.str.val) {
28 - to = (*argv[0])->value.str.val;
29 + if (Z_STRVAL_PP(argv[0])) {
30 + to = Z_STRVAL_PP(argv[0]);
32 php_error(E_WARNING, "No to field in mail command");
37 convert_to_string_ex(argv[1]);
38 - if ((*argv[1])->value.str.val) {
39 + if (Z_STRVAL_PP(argv[1])) {
40 subject = Z_STRVAL_PP(argv[1]);
42 php_error(E_WARNING, "No subject field in mail command");
47 convert_to_string_ex(argv[2]);
48 - if ((*argv[2])->value.str.val) {
49 + if (Z_STRVAL_PP(argv[2])) {
50 message = Z_STRVAL_PP(argv[2]);
52 /* this is not really an error, so it is allowed. */
53 php_error(E_WARNING, "No message string in mail command");