Make winbindd_cli_state->response a pointer instead of a struct member
[ira/wip.git] / source3 / winbindd / winbindd_wins.c
index 13cbb24b06ed65c3f287b8f0554ff9f61f6e7cdd..f5727cc9b78d6fd994c6a449414d34f09f971ac6 100644 (file)
@@ -185,7 +185,7 @@ void winbindd_wins_byip(struct winbindd_cli_state *state)
            response[strlen(response)-1] = '\n';
            SAFE_FREE(status);
        }
-       fstrcpy(state->response.data.winsresp,response);
+       fstrcpy(state->response->data.winsresp,response);
        request_ok(state);
 }
 
@@ -241,7 +241,7 @@ void winbindd_wins_byname(struct winbindd_cli_state *state)
                return;
        }
 
-       fstrcpy(state->response.data.winsresp,response);
+       fstrcpy(state->response->data.winsresp,response);
 
        request_ok(state);
 }