aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------grecs0
-rw-r--r--ident/provider.c2
-rw-r--r--lib/pp.c1
-rw-r--r--src/ctl.c2
-rw-r--r--src/pies.c4
-rw-r--r--src/piesctl.c2
-rw-r--r--src/sysvinit.c2
7 files changed, 7 insertions, 6 deletions
diff --git a/grecs b/grecs
Subproject 1c1e7a987f643aae50bf8b45928650bb384e5c6 Subproject 1fa2dd2c6587822ff682581643499c3c3b78c9e
diff --git a/ident/provider.c b/ident/provider.c
index 44ae342..b212cca 100644
--- a/ident/provider.c
+++ b/ident/provider.c
@@ -77,7 +77,7 @@ idmech_help (void *data, void *unused)
77void 77void
78pies_config_identity_mechanisms_help () 78pies_config_identity_mechanisms_help ()
79{ 79{
80 grecs_symtab_enumerate (idmech_symtab, idmech_help, NULL); 80 grecs_symtab_foreach (idmech_symtab, idmech_help, NULL);
81} 81}
82 82
83static int 83static int
diff --git a/lib/pp.c b/lib/pp.c
index 8a9471a..2ec6d99 100644
--- a/lib/pp.c
+++ b/lib/pp.c
@@ -15,6 +15,7 @@
15 along with GNU Pies. If not, see <http://www.gnu.org/licenses/>. */ 15 along with GNU Pies. If not, see <http://www.gnu.org/licenses/>. */
16 16
17#include <config.h> 17#include <config.h>
18#include <stdlib.h>
18#include <grecs.h> 19#include <grecs.h>
19#include <sysexits.h> 20#include <sysexits.h>
20 21
diff --git a/src/ctl.c b/src/ctl.c
index c0e8c10..475fda6 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -711,7 +711,7 @@ ctlio_finalize_reply (struct ctlio *io)
711 711
712 ctlio_printf (io, "HTTP/1.1 %3d %s", io->code, http_text (io->code)); 712 ctlio_printf (io, "HTTP/1.1 %3d %s", io->code, http_text (io->code));
713 ctlio_eol (io); 713 ctlio_eol (io);
714 grecs_symtab_enumerate (io->output.headers, format_header, io); 714 grecs_symtab_foreach (io->output.headers, format_header, io);
715 ctlio_eol (io); 715 ctlio_eol (io);
716 716
717 ctlbuf_copy (&io->obuf, &tmpbuf); 717 ctlbuf_copy (&io->obuf, &tmpbuf);
diff --git a/src/pies.c b/src/pies.c
index 503be73..cf26050 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -539,7 +539,7 @@ _cb_command (enum grecs_callback_command cmd,
539 grecs_error (locus, 0, "wordsplit: %s", strerror (errno)); 539 grecs_error (locus, 0, "wordsplit: %s", strerror (errno));
540 return 1; 540 return 1;
541 } 541 }
542 wordsplit_getwords (&ws, &comp->argc, &comp->argv); 542 wordsplit_get_words (&ws, &comp->argc, &comp->argv);
543 wordsplit_free (&ws); 543 wordsplit_free (&ws);
544 break; 544 break;
545 545
@@ -594,7 +594,7 @@ _cb_env (enum grecs_callback_command cmd,
594 grecs_error (locus, 0, "wordsplit: %s", strerror (errno)); 594 grecs_error (locus, 0, "wordsplit: %s", strerror (errno));
595 return 1; 595 return 1;
596 } 596 }
597 wordsplit_getwords (&ws, &argc, &argv); 597 wordsplit_get_words (&ws, &argc, &argv);
598 wordsplit_free (&ws); 598 wordsplit_free (&ws);
599 break; 599 break;
600 600
diff --git a/src/piesctl.c b/src/piesctl.c
index 27be361..44bd263 100644
--- a/src/piesctl.c
+++ b/src/piesctl.c
@@ -656,7 +656,7 @@ shttp_request_send (struct shttp_connection *conn, int method, char const *uri)
656 if (conn->b64auth) 656 if (conn->b64auth)
657 shttp_send_line (conn, "Authorization: Basic %s", conn->b64auth); 657 shttp_send_line (conn, "Authorization: Basic %s", conn->b64auth);
658 658
659 grecs_symtab_enumerate (conn->req.headers, send_header, conn); 659 grecs_symtab_foreach (conn->req.headers, send_header, conn);
660 if (conn->req.content_length) 660 if (conn->req.content_length)
661 { 661 {
662 shttp_send_line (conn, "Content-Length: %lu", conn->req.content_length); 662 shttp_send_line (conn, "Content-Length: %lu", conn->req.content_length);
diff --git a/src/sysvinit.c b/src/sysvinit.c
index c05a040..a33fab7 100644
--- a/src/sysvinit.c
+++ b/src/sysvinit.c
@@ -1131,7 +1131,7 @@ inittab_parse_line (struct inittab_ctx *ctx)
1131 strerror (errno)); 1131 strerror (errno));
1132 return inittab_err; 1132 return inittab_err;
1133 } 1133 }
1134 wordsplit_getwords (&ws, &comp->argc, &comp->argv); 1134 wordsplit_get_words (&ws, &comp->argc, &comp->argv);
1135 comp->program = grecs_strdup (comp->argv[0]); 1135 comp->program = grecs_strdup (comp->argv[0]);
1136 wordsplit_free (&ws); 1136 wordsplit_free (&ws);
1137 1137

Return to:

Send suggestions and report system problems to the System administrator.