e756b17c46
there's little sense in passing an integer port number to a string comparison routine :) Bump PORTREVISION. Reported by: Rudy <rudy@tzone.it>
11 lines
356 B
C
11 lines
356 B
C
--- vchkpw.c.orig Thu Jun 13 15:05:53 2002
|
|
+++ vchkpw.c Thu Jun 13 15:06:16 2002
|
|
@@ -556,7 +556,7 @@
|
|
pw_gid = pw->pw_gid;
|
|
pw_dir = pw->pw_dir;
|
|
#ifdef POP_AUTH_OPEN_RELAY
|
|
- if ( (strcmp(LocalPort, "25") != 0) && (strcmp(LocalPort, "465") != 0)) {
|
|
+ if ( (LocalPort != 25) && (LocalPort != 465)) {
|
|
open_smtp_relay();
|
|
}
|
|
#endif
|