emitf 449 src/acc.c emitf ("%d Not an INET connection. Goodbye", NNTP_ACCESS_VAL); emitf 309 src/article.c return emitf("%s %d %s <%s>\r\n", m, artno, c, msgid); emitf 311 src/article.c return emitf("%s %d <%s> %s\r\n", m, artno, msgid, c); emitf 393 src/article.c emitf("Message-ID: <%s>\r\n", con->statsArticleID); emitf 394 src/article.c emitf("Date: %s\r\n", NewsDate(time(NULL))); emitf 21 src/date.c emitf ("%d Can 't get time?!\r\n", NNTP_INTERNAL_VAL); emitf 24 src/date.c emitf ("%d %04.4d%02.2d%02.2d%02.2d%02.2d%02.2d\r\n", emitf 201 src/group.c emitf ("%d %d %d %d %s\r\n", NNTP_GROUPOK_VAL, n->msgs, lo, hi, group); emitf 243 src/group.c emitf ("%d setGroupDir(%s, %s) failed\r\n", NNTP_PERM_VAL, group, scfg->host); /* don't use NNTP_NOSUCHGROUP here */ emitf 264 src/group.c emitf ("%d %d %d %d %s\r\n", NNTP_GROUPOK_VAL, msgs, lo, hi, group); emitf 450 src/group.c cc=emitf ("%d\r\n", last); emitf 28 src/http.c emitf("\ emitf 91 src/http.c emitf("\ emitf 98 src/http.c emitf("Last-Modified: %s\r\n", rfc1122_date(modified)); emitf 99 src/http.c emitf("Date: %s\r\n\r\n", rfc1122_date(time(NULL))); emitf 105 src/http.c emitf ("\ emitf 115 src/http.c emitf ("\ emitf 123 src/http.c emitf ("<H1>%s</H1>\nThe requested URL %s was not found on this server\n", "File not found", url); emitf 926 src/http.c emitf ("<H1>Bad Request</H1> Your browser sent a query that this server could not understand.<P>"); emitf 935 src/http.c emitf ("<H1>Bad Request</H1> Your browser sent a query that this server could not understand.<P>"); emitf 950 src/http.c emitf ("<H1>Access denied</H1> Access Forbidden-- '%s' inaccessable<P>\r\n", con->httpFiles); emitf 958 src/http.c emitf ("<H1>Access Forbidden</H1> <%s>, you do not have connect permissions in the %s file.<P>\r\n", ClientHost, con->accessFile); emitf 23 src/ihave.c emitf ("%d Can't IHAVE in reader mode\r\n", NNTP_ACCESS_VAL); /* XXX AUTH_NEEDED isn't appropriate */ emitf 30 src/ihave.c emitf ("%d Transfer permission denied\r\n", NNTP_AUTH_NEEDED_VAL); emitf 528 src/list.c return emitf ("%s %d %d %c\r\n", n->group, getHi(n), getLo(n), n->moderation); emitf 542 src/list.c bytes+=emitf ("%s %lu %s\r\n", n->group, n->creation_time, n->creator); emitf 547 src/list.c bytes+=emitf ("%s\t%s\r\n", n->group, n->desc); emitf 614 src/list.c bytes+=emitf ("%s\r\n",l->data); emitf 73 src/newgroups.c emitf ("%s %d %d %c\r\n", n->group, getHi(n), getLo(n), n->moderation); emitf 308 src/nntpcache.c emitf ("%d Timeout after %s, closing connection.\r\n", NNTP_TEMPERR_VAL, nnitod(con->idleTimeout)); emitf 911 src/nntpcache.c emitf ("%d %s NNTPcache server V%s [see www.nntpcache.org] (c) 1996-1998 Julian Assange <proff@iq.org> %s ready (posting %s).\r\n", post_ok? NNTP_POSTOK_VAL: NNTP_NOPOSTOK_VAL, Host, VERSION, __DATE__, post_ok? "ok": "not permitted"); emitf 1024 src/nntpcache.c emitf (" %s %s\r\n", commands[i].cmd, commands[i].desc); emitf 1025 src/nntpcache.c emitf ("Report local configuration problems to <%s> or NNTPCache specific problems to <nntpcache@nntpcache.org>\r\n", con->adminEmail); emitf 1129 src/nntpcache.c emitf ("%d access denied <%s>, you do not have connect permissions in the %s file.\r\n", NNTP_ACCESS_VAL, ClientHost, con->accessFile); emitf 1136 src/nntpcache.c emitf ("%d too many concurrent reader sessions already (%d). try again later\r\n", NNTP_TEMPERR_VAL, Stats->clientsActive); emitf 1143 src/nntpcache.c emitf ("%d initial server rebuild in progress (%d groups complete), please try again later.\r\n", NNTP_SERVERDOWN_VAL, Stats->list_stats[l_active].entries); emitf 1149 src/nntpcache.c emitf ("%d server rebuild in still in progress (%d , please try again later.\r\n", NNTP_SERVERDOWN_VAL); emitf 124 src/post.c emitf ("%d No newsgroups specified.\r\n", NNTP_POSTFAIL_VAL); emitf 177 src/post.c emitf ("%d permission denied.\r\n", NNTP_PERM_VAL); emitf 253 src/post.c emitf ("%d No servers accepted article\r\n", NNTP_POSTFAIL_VAL); emitf 116 src/stats.c emitf("\r\nNNTPCACHE %s statistics on %s, %s\r\n", VERSION, Host, con->bindAddr); emitf 117 src/stats.c emitf("\r\nOVERALL:\r\n\r\n"); emitf 118 src/stats.c emitf("\tStatistics gathering commenced: %24s\r\n", NewsDate(s->time_statistics_started)); emitf 119 src/stats.c emitf("\tCurrent nntpcached started: %24s\r\n", NewsDate(s->time_server_started)); emitf 120 src/stats.c emitf("\tServers run during statistical period: %24d\r\n", s->servers_run); emitf 121 src/stats.c emitf("\tClients active: %24d\r\n", s->clients_active); emitf 122 src/stats.c emitf("\tClient connects: %24s\r\n", c(s->client_connects)); emitf 123 src/stats.c emitf("\tOutgoing server connections: %24s\r\n", c(s->server_connects)); emitf 124 src/stats.c emitf("\tOutgoing server connections (failed): %24s\r\n", c(s->server_connects_failed)); emitf 125 src/stats.c emitf("\tTotal data from remote servers (bytes): %24s\r\n", c(s->server_read_bytes)); emitf 126 src/stats.c emitf("\tTotal data to remote servers (bytes): %24s\r\n", c(s->server_write_bytes)); emitf 127 src/stats.c emitf("\tTotal data from clients (bytes): %24s\r\n", c(s->client_read_bytes)); emitf 128 src/stats.c emitf("\tTotal data to clients (bytes): %24s\r\n", c(s->client_write_bytes)); emitf 129 src/stats.c emitf("\tTotal cache cache efficiency: %23.2f%%\r\n", (1.0-((float)(s->server_read_bytes+s->server_write_bytes+1)/(float)(s->client_write_bytes+s->client_read_bytes+1)))*100.0); emitf 130 src/stats.c emitf("\tIPC messages to children: %24s\r\n", b(s->ipc_messages_out)); emitf 131 src/stats.c emitf("\tIPC messages to children (bytes): %24s\r\n", c(s->ipc_messages_out_bytes)); emitf 132 src/stats.c emitf("\tIPC messages from children: %24s\r\n", b(s->ipc_messages_in)); emitf 133 src/stats.c emitf("\tIPC messages from children (bytes): %24s\r\n", c(s->ipc_messages_in_bytes)); emitf 134 src/stats.c emitf("\tCPU Usage (User) in server: %23.2fs\r\n", ((double) s->server_user_cpu/(double) CLK_TCK)); emitf 135 src/stats.c emitf("\tCPU Usage (System) in server: %23.2fs\r\n", ((double) s->server_syst_cpu/(double) CLK_TCK)); emitf 136 src/stats.c emitf("\tCPU Usage (User) in update daemon: %23.2fs\r\n", ((double) s->update_user_cpu/(double) CLK_TCK)); emitf 137 src/stats.c emitf("\tCPU Usage (System) in update daemon: %23.2fs\r\n", ((double) s->update_syst_cpu/(double) CLK_TCK)); emitf 138 src/stats.c emitf("\tCPU Usage (User) in children: %23.2fs\r\n", ((double) s->client_user_cpu/(double) CLK_TCK)); emitf 139 src/stats.c emitf("\tCPU Usage (System) in children: %23.2fs\r\n", ((double) s->client_syst_cpu/(double) CLK_TCK)); emitf 140 src/stats.c emitf("\tTotal time elapsed in children: %24s\r\n", nnitod(s->client_elapsed)); emitf 141 src/stats.c emitf("\tDatabase stores: %24s\r\n", b(s->dbz_stores)); emitf 142 src/stats.c emitf("\tDatabase fetches: %24s\r\n", b(s->dbz_fetches)); emitf 143 src/stats.c emitf("\tDatabase size: %24s\r\n", c(s->dbz_len)); emitf 144 src/stats.c emitf("\tGROUP commands: %24s\r\n", b(s->group)); emitf 145 src/stats.c emitf("\tLISTGROUP commands: %24s\r\n", b(s->listgroup)); emitf 146 src/stats.c emitf("\tGroups cached with > 0 articles: %24d\r\n", s->groups_cached); emitf 147 src/stats.c emitf("\tGroups expired: %24d\r\n", s->expire_groups); emitf 148 src/stats.c emitf("\tArticles expired: %24s\r\n", b(s->expire_articles)); emitf 149 src/stats.c emitf("\tPosts: %24s\r\n", b(s->posts)); emitf 150 src/stats.c emitf("\tPosts (crossposted): %24s\r\n", b(s->posts_cross)); emitf 151 src/stats.c emitf("\tPosts (failed): %24s\r\n", b(s->posts_failed)); emitf 152 src/stats.c emitf("\tPosts (bytes): %24s\r\n", c(s->posts_bytes)); emitf 153 src/stats.c emitf("\tIncoming crossposts: %24s\r\n", b(s->crossposts)); emitf 154 src/stats.c emitf("\tIncoming crossposts (bytes): %24s\r\n", c(s->crossposts_bytes)); emitf 156 src/stats.c emitf("\ emitf 161 src/stats.c emitf("\ emitf 163 src/stats.c emitf("\ emitf 165 src/stats.c emitf("\ emitf 167 src/stats.c emitf("\ emitf 169 src/stats.c emitf("\r\n\ emitf 173 src/stats.c emitf("\ emitf 175 src/stats.c emitf("\ emitf 177 src/stats.c emitf("\ emitf 179 src/stats.c emitf("\ emitf 181 src/stats.c emitf("\ emitf 183 src/stats.c emitf("\ emitf 624 src/xover.c len=emitf("%d ", xn); emitf 850 src/xover.c emitf ("%d\t%s\r\n", response, p); emitf 1071 src/xover.c emitf ("%d\t%s\r\n", xn, xov); emitf 1108 src/xover.c emitf("%d no overview.fmt for this server\r\n", NNTP_DONTHAVEIT_VAL); emitf 1171 src/xover.c emitf("%s\t%s\r\n", line, p); emitf 35 src/xpath.c emitf("%d %s\r\n", NNTP_NOTHING_FOLLOWS_VAL, p+1);