diff options
-rw-r--r-- | source3/libsmb/libsmb_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_path.c b/source3/libsmb/libsmb_path.c index 9d2eafc8d7..64a956d9ee 100644 --- a/source3/libsmb/libsmb_path.c +++ b/source3/libsmb/libsmb_path.c @@ -308,7 +308,7 @@ SMBC_parse_path(TALLOC_CTX *ctx, if (!*pp_server) { return -1; } - *pp_server[wl] = '\0'; + (*pp_server)[wl] = '\0'; return 0; } |