author | Florian Forster <octo@huhu.verplant.org> | |
Tue, 22 Jan 2008 10:06:15 +0000 (11:06 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 22 Jan 2008 10:06:15 +0000 (11:06 +0100) | ||
commit | df724fee6b417cfbeea2925f4c6fd8c70f9a7d66 | |
tree | e8360f0601fa96074cad577662317b5fba86867b | tree | snapshot |
parent | 40cbdef8475076515d30be35dfc54c70896eafab | commit | diff |
apache plugin: Improved some error messages and fixed-buffer string copying.
Return an error when initialization fails. This includes the case when no URL
is configured. The user is informed about this as clear as possible.
Also, `strncpy' and `snprintf' now are followed by a forced NULL-termination of
the strings to be on the save side. This also changes the plugin to look more
like the other plugins which mostly do this already.
Return an error when initialization fails. This includes the case when no URL
is configured. The user is informed about this as clear as possible.
Also, `strncpy' and `snprintf' now are followed by a forced NULL-termination of
the strings to be on the save side. This also changes the plugin to look more
like the other plugins which mostly do this already.
src/apache.c | diff | blob | history |