aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_options.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-10 21:45:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-10 21:45:34 +0200
commit34aa038d97938cf24b157892bcab6fec173918c8 (patch)
tree27e0dc98bfa82e59d30616e29b11e09b8f1384ed /src/lib/daemon_options.c
parenta019057377ee1b67d49264d1029ac615089b2422 (diff)
parentf84bdf0a8c4c11d956f63bc6378aaa7fa9bb95aa (diff)
downloadlibmicrohttpd-34aa038d97938cf24b157892bcab6fec173918c8.tar.gz
libmicrohttpd-34aa038d97938cf24b157892bcab6fec173918c8.zip
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
Diffstat (limited to 'src/lib/daemon_options.c')
-rw-r--r--src/lib/daemon_options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/daemon_options.c b/src/lib/daemon_options.c
index fa84fe83..abf1fbd3 100644
--- a/src/lib/daemon_options.c
+++ b/src/lib/daemon_options.c
@@ -620,7 +620,7 @@ MHD_daemon_connection_memory_limit (struct MHD_Daemon *daemon,
620 size_t memory_increment_b) 620 size_t memory_increment_b)
621{ 621{
622 if (memory_increment_b >= memory_limit_b) 622 if (memory_increment_b >= memory_limit_b)
623 MHD_PANIC ("sane memory increment must be below memory limit"); 623 MHD_PANIC ("Sane memory increment must be below memory limit.\n");
624 daemon->connection_memory_limit_b = memory_limit_b; 624 daemon->connection_memory_limit_b = memory_limit_b;
625 daemon->connection_memory_increment_b = memory_increment_b; 625 daemon->connection_memory_increment_b = memory_increment_b;
626} 626}
@@ -725,7 +725,7 @@ MHD_daemon_digest_auth_random (struct MHD_Daemon *daemon,
725 (void) daemon; 725 (void) daemon;
726 (void) buf_size; 726 (void) buf_size;
727 (void) buf; 727 (void) buf;
728 MHD_PANIC ("digest authentication not supported by this build"); 728 MHD_PANIC ("Digest authentication not supported by this build.\n");
729#endif 729#endif
730} 730}
731 731
@@ -747,7 +747,7 @@ MHD_daemon_digest_auth_nc_length (struct MHD_Daemon *daemon,
747 { 747 {
748#ifdef HAVE_MESSAGES 748#ifdef HAVE_MESSAGES
749 MHD_DLOG (daemon, 749 MHD_DLOG (daemon,
750 _ ("Specified value for NC_SIZE too large\n")); 750 _ ("Specified value for NC_SIZE too large.\n"));
751#endif 751#endif
752 return MHD_SC_DIGEST_AUTH_NC_LENGTH_TOO_BIG; 752 return MHD_SC_DIGEST_AUTH_NC_LENGTH_TOO_BIG;
753 } 753 }