← Commit list

e44f1a1446

Viktor Szakats
Viktor Szakats
2026-06-18
SUCCESS Duration: 185s

Subject

smb: constify `strchr()` result variable

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/smb.c+1 -1
@@ -467,7 +467,7 @@ static CURLcode smb_connect(struct Curl_easy *data, bool *done)
{
struct connectdata *conn = data->conn;
struct smb_conn *smbc = Curl_conn_meta_get(conn, CURL_META_SMB_CONN);
- char *slash;
+ const char *slash;
const char *user = Curl_creds_user(conn->creds);
(void)done;