summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h
index a9b63dd266..37debbb5dd 100644
--- a/source4/winbind/wb_server.h
+++ b/source4/winbind/wb_server.h
@@ -103,7 +103,7 @@ struct wbsrv_connection {
};
#define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
- strncpy(dest, src, sizeof(dest)-1);\
+ safe_strcpy(dest, src, sizeof(dest)-1);\
} while(0)
/*