]> code.citadel.org Git - citadel.git/blobdiff - webcit/paramhandling.c
Remove HKEY from call to strncmp so that it compiles.
[citadel.git] / webcit / paramhandling.c
index d5fff13e467326c79190c7024a43d280d0f1dd80..86d9d1aa438489787d022471e29987cfa5f1a375 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * parse urlparts and post data
  */
 
@@ -56,7 +54,7 @@ void ParseURLParams(StrBuf *url)
                        continue;
                }
                
-               if (strncmp(u->url_key, HKEY("__")) != 0)
+               if (strncmp(u->url_key, "__", 2) != 0)
                {
                        Put(WCC->Hdr->urlstrings, u->url_key, keylen, u, free_url);
                        len = bptr - aptr;
@@ -322,7 +320,7 @@ void upload_handler(char *name, char *filename, char *partnum, char *disp,
                keylen = safestrncpy(u->url_key, name, sizeof(u->url_key));
                u->url_data = NewStrBufPlain(content, length);
                
-               if (strncmp(u->url_key, HKEY("__")) != 0)
+               if (strncmp(u->url_key, "__", 2) != 0)
                {
                        Put(WCC->Hdr->urlstrings, u->url_key, keylen, u, free_url);
                }