add const qualifiers to some variables

This commit is contained in:
josch
2014-09-21 15:59:52 +02:00
parent 675679acf7
commit 08c067a352
33 changed files with 123 additions and 98 deletions

View File

@@ -27,7 +27,7 @@
int mfconn_api_folder_delete(mfconn * conn, const char *folderkey)
{
char *api_call;
const char *api_call;
int retval;
mfhttp *http;
@@ -48,7 +48,7 @@ int mfconn_api_folder_delete(mfconn * conn, const char *folderkey)
retval = http_get_buf(http, api_call, NULL, NULL);
http_destroy(http);
free(api_call);
free((void *)api_call);
return retval;
}