Skip to content

Commit c0a1b3a

Browse files
author
abort
committed
Added credits
1 parent 598fd40 commit c0a1b3a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ Prowl for C (by J. Dijkstra / [email protected])
33

44
This project requires the OpenSSL library and has been tested on Mac OS X (Snow Leopard) and Windows XP SP3.
55

6-
Feel free to improve the module as there is still plenty of room for improvement (think of things as buffer safety and better XML parsing).
6+
Feel free to improve the module as there is still plenty of room for improvement (think of things as buffer safety and better XML parsing).
7+
8+
Credits:
9+
---------------------
10+
URL encoding: http://www.geekhideout.com/urlcode.shtml
11+
OpenSSL base example: http://savetheions.com/2010/01/16/quickly-using-openssl-in-c/

main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
int main(int argc, char** argv) {
1616
if (argc < 4)
1717
{
18-
printf("Usage: prowl.exe <api_key> <priority-number> <event> <description>\n");
18+
printf("Usage: prowl <api_key> <priority-number> <event> <description>\n");
1919
return 1;
2020
}
2121

prowl.c

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ int prowl_push_msg(char* api_key, int priority, char* application_name, char* ev
2525
#ifdef _WINDOWS
2626
static int wsa_init = 0;
2727
#endif
28+
int retval = -1;
2829

2930
application_name = prowl_url_encode(application_name);
3031
event_name = prowl_url_encode(event_name);

0 commit comments

Comments
 (0)