mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
This commit is contained in:
@@ -70,7 +70,7 @@ pub fn (mut app App) settings(username string) vweb.Result {
|
||||
}
|
||||
|
||||
['/:user/:repo/settings']
|
||||
pub fn (mut app App) user_repo_settings(username, repository string) vweb.Result {
|
||||
pub fn (mut app App) user_repo_settings(username string, repository string) vweb.Result {
|
||||
if username !in known_users {
|
||||
return app.vweb.not_found()
|
||||
}
|
||||
|
Reference in New Issue
Block a user