title: c++ one-line if/else syntax
body: <p>This codesnippet confuses me:</p>
  
  <pre><code>/* First off, we need to check if this is a call for the "example-handler" handler.
   * If it is, we accept it and do our things, if not, we simply return DECLINED,
   * and the server will try somewhere else.
   */
  if (!r-&gt;handler || strcmp(r-&gt;handler, "example-handler")) return (DECLINED);
  </code></pre>
  
  <p><a href="https://httpd.apache.org/docs/trunk/developer/modguide.html" rel="nofollow">[Source]</a></p>
  
  <p>It says: "check if this is a call for the "example-handler" handler. <strong>IF NOT, we simply return DECLINED</strong>,"</p>
  
  <p>I thought that "if (strcmp(r->handler, "example-handler")) return (DECLINED)" meant that if the string compare returns true, so if it is a call for the example-handler, DECLINED would be returned.</p>