W3_Set_Method(w3, "GROUP");
W3_Set_Path(w3, w3url->path + 1);
W3_NNTP_Send_Request(w3);
- }else if(status == 211){
+ }else if(status == 211 || status == 223){
W3_Set_Method(w3, "HEAD");
W3_NNTP_Send_Request(w3);
}else if(status == 221){
W3_Set_Method(w3, "BODY");
W3_NNTP_Send_Request(w3);
}else if(status == 222){
+ W3_Set_Method(w3, "NEXT");
+ W3_NNTP_Send_Request(w3);
+ }else{
W3_NNTP_Disconnect(w3);
}
}
}else if(strcasecmp(w3->method, "BODY") == 0){
(*(int*)w3->generic) |= 1;
__W3_Auto_Write(w3, "BODY\r\n", 6);
+ }else if(strcasecmp(w3->method, "NEXT") == 0){
+ __W3_Auto_Write(w3, "NEXT\r\n", 6);
}else if(strcasecmp(w3->method, "GROUP") == 0){
__W3_Auto_Write(w3, "GROUP ", 6);
__W3_Auto_Write(w3, w3->path, strlen(w3->path));
extern "C" {
#endif
-#define LIBW3_VERSION "2.12G" \
+#define LIBW3_VERSION "2.12H" \
SUFFIX
#ifdef __cplusplus