Package: libmsv0
Version: 0.0.0-1
Severity: minor

I have no expectation that calling msv_query_agent() or
msv_check_msva() should modify the contents of any of the arguments
passed.

The interface to the library would be more intuitive if all those
arguments were const char* instead of char*, so that the caller could
rely on this expectation.

For example, gcc emits the following warnings if i pass a const char*
to msv_query_agent's peername:

 warning: passing argument 4 of 'msv_query_agent' discards 'const' qualifier 
from pointer target type [enabled by default]

    --dkg

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmsv0 depends on:
ii  libc6            2.13-37
ii  libcurl3-gnutls  7.26.0-1
ii  libjansson4      2.3.1-2

libmsv0 recommends no packages.

libmsv0 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to