diff options
author | ed <ed@FreeBSD.org> | 2011-10-16 08:44:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-10-16 08:44:03 +0000 |
commit | 21414c51c1779ae2de004f9affc281fa3a30fa81 (patch) | |
tree | 410d0d59f9705b5368a58e9324ed9501b858daab /lib/libncp/ncpl_bind.c | |
parent | 50100c914ebda5f60c1e9e20316d1a705beff2b6 (diff) | |
download | FreeBSD-src-21414c51c1779ae2de004f9affc281fa3a30fa81.zip FreeBSD-src-21414c51c1779ae2de004f9affc281fa3a30fa81.tar.gz |
Change ncp_scan_bindery_object() to pass a constant search string.
The ncp_scan_bindery_object() function does not modify search_string
internally, so there is no need to declare it as `char *'.
Diffstat (limited to 'lib/libncp/ncpl_bind.c')
-rw-r--r-- | lib/libncp/ncpl_bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncp/ncpl_bind.c b/lib/libncp/ncpl_bind.c index d7c64ed..d00cfa8 100644 --- a/lib/libncp/ncpl_bind.c +++ b/lib/libncp/ncpl_bind.c @@ -85,7 +85,7 @@ ncp_read_property_value(NWCONN_HANDLE connid, int object_type, int ncp_scan_bindery_object(NWCONN_HANDLE connid, u_int32_t last_id, - u_int16_t object_type, char *search_string, + u_int16_t object_type, const char *search_string, struct ncp_bindery_object *target) { int error; |