<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Missing string end in xcb-requests man page"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90231">90231</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Missing string end in xcb-requests man page
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>XCB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Docs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Stefan-Merettig@NuriaProject.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

the xcb-requests man page is missing the string end double-quote in the
printf() line in the COOKIES section:

void my_example(xcb_connection *conn) {
    xcb_intern_atom_cookie_t cookie;
    xcb_intern_atom_reply_t *reply;

    cookie = xcb_intern_atom(conn, 0, strlen("_NET_WM_NAME"),
                             "_NET_WM_NAME");
    /⁠* ... do other work here if possible ... */⁠
    if ((reply = xcb_intern_atom_reply(conn, cookie, NULL))) {
 printf("The _NET_WM_NAME atom has ID %u0, reply-⁠>atom); /⁠/⁠ <====
    }
    free(reply);
}

Needed change would be:

-  printf("The _NET_WM_NAME atom has ID %u0, reply-⁠>atom);
+  printf("The _NET_WM_NAME atom has ID %u0", reply-⁠>atom);

Kind regards,
Stefan</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>