diff options
Diffstat (limited to 'src/responder/nss/nsssrv_cmd.c')
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index e3420fa2e..4b5f6784c 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -28,17 +28,6 @@ #include "db/sysdb.h" #include <time.h> -/* out->len includes terminating '\0' */ -void to_sized_string(struct sized_string *out, const char *in) -{ - out->str = in; - if (out->str) { - out->len = strlen(out->str) + 1; - } else { - out->len = 0; - } -} - static int nss_cmd_send_error(struct nss_cmd_ctx *cmdctx, int err) { struct cli_ctx *cctx = cmdctx->cctx; |