Check-in Number:
|
748 | |
Date: |
2001-Aug-23 10:36:16 (local)
2001-Aug-23 08:36:16 (UTC) |
User: | rse |
Branch: | |
Comment: |
remove dependency to Str library |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/lmtp2nntp/nntp.c 1.12 -> 1.13
--- nntp.c 2001/08/23 08:10:12 1.12
+++ nntp.c 2001/08/23 08:36:16 1.13
@@ -135,7 +135,7 @@
* "Duplicate". Typical welcome string is "200 host InterNetNews NNRP
* server INN 2.3.2 ready (posting * ok)."
*/
- if (str_parse(line, "m/^200.*\\sINN\\s/")) {
+ if (strncmp(line, "200", 3) == 0 && strstr(line, " INN ") != NULL) {
nntp->kludgeinn441dup = TRUE;
/*fprintf(stderr, "DEBUG: INN kludge activated!\n"); */
}
|
|