s3: make better use of ccache by not including version.h in every C-file.
[metze/samba/wip.git] / source3 / web / statuspage.c
index e684a075c25228762bdccf994dfdebdca84a32b1..cb8485a6ebb3afc98a6104fbcc17af9af2272818 100644 (file)
@@ -345,7 +345,7 @@ void status_page(void)
 
        printf("<table>\n");
 
-       printf("<tr><td>%s</td><td>%s</td></tr>", _("version:"), SAMBA_VERSION_STRING);
+       printf("<tr><td>%s</td><td>%s</td></tr>", _("version:"), samba_version_string());
 
        fflush(stdout);
        printf("<tr><td>%s</td><td>%s</td>\n", _("smbd:"), smbd_running()?_("running"):_("not running"));