diff options
author | Nick White <git@njw.me.uk> | 2011-11-30 18:55:47 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-11-30 18:55:47 +0000 |
commit | 750f41033d1e8eb0a0c6ba4401e685b378ac3ae6 (patch) | |
tree | d4b8204055524e91cd852d9673d77eccdc406975 /util.h | |
parent | 83adb758f73ebc6a6c09b7dee82e139317b7ad0a (diff) |
Use appropriate file extensions when saving
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,3 +5,4 @@ int dial(char *host, char *port); int get(char *host, char *path, char *sendcookie, char *savecookie, char **buf); int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath); int post(char *host, char *path, char *data, char **buf); +int renameifjpg(char *path); |