Subversion Repositories Okuu

Rev

Rev 9 | Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 10
Line 1... Line 1...
1
/* $Id: news.c 9 2024-09-11 00:50:07Z nishi $ */
1
/* $Id: news.c 10 2024-09-11 10:17:32Z nishi $ */
2
 
2
 
3
#define OK_NEWS_SRC
3
#define OK_NEWS_SRC
4
#include "ok_news.h"
4
#include "ok_news.h"
5
 
5
 
6
#include "ok_util.h"
6
#include "ok_util.h"
Line 323... Line 323...
323
				}
323
				}
324
				if(!first) send(nt_sock, "\r\n", 2, 0);
324
				if(!first) send(nt_sock, "\r\n", 2, 0);
325
				send(nt_sock, ".\r\n", 3, 0);
325
				send(nt_sock, ".\r\n", 3, 0);
326
				sta = ok_news_parse(nt_sock);
326
				sta = ok_news_parse(nt_sock);
327
				if(sta != 240) goto cleanup;
327
				if(sta != 240) goto cleanup;
-
 
328
				send(nt_sock, "QUIT\r\n", 6, 0);
-
 
329
				sta = ok_news_parse(nt_sock);
-
 
330
				if(sta != 205) goto cleanup;
328
			}else{
331
			}else{
329
				goto cleanup;
332
				goto cleanup;
330
			}
333
			}
331
		}else{
334
		}else{
332
			goto cleanup;
335
			goto cleanup;