|
|
|
|
191
|
if (result == SRS_SUCCESS) {
|
191
|
if (result == SRS_SUCCESS) {
|
192
|
output = url_encode(outputbuf, sizeof(outputbuf), value);
|
192
|
output = url_encode(outputbuf, sizeof(outputbuf), value);
|
193
|
fprintf (fp, "200 %s\n", output);
|
193
|
fprintf (fp, "200 %s\n", output);
|
194
|
- syslog (LOG_MAIL | LOG_INFO, "srs_reverse: <%s> rewritten as <%s>", address, value);
|
|
|
|
|
194
|
+ syslog (LOG_MAIL | LOG_INFO, "srs_reverse: <%s> rewritten as <%s>", address, value);
|
195
|
} else {
|
195
|
} else {
|
196
|
fprintf (fp, "500 %s\n", srs_strerror(result));
|
196
|
fprintf (fp, "500 %s\n", srs_strerror(result));
|
197
|
if (result != SRS_ENOTREWRITTEN && result != SRS_ENOTSRSADDRESS)
|
197
|
if (result != SRS_ENOTREWRITTEN && result != SRS_ENOTSRSADDRESS)
|