diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/AFC.c | 2 | ||||
| -rw-r--r-- | src/NotificationProxy.c | 1 |
2 files changed, 2 insertions, 1 deletions
| @@ -339,7 +339,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **dump_here, int * | |||
| 339 | *bytes = 0; | 339 | *bytes = 0; |
| 340 | 340 | ||
| 341 | log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); | 341 | log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); |
| 342 | fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); | 342 | fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, (long long)header.operation, (long long)param1); |
| 343 | 343 | ||
| 344 | return AFC_E_OP_NOT_SUPPORTED; | 344 | return AFC_E_OP_NOT_SUPPORTED; |
| 345 | } | 345 | } |
diff --git a/src/NotificationProxy.c b/src/NotificationProxy.c index 7e52405..e4735cc 100644 --- a/src/NotificationProxy.c +++ b/src/NotificationProxy.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <string.h> | 22 | #include <string.h> |
| 23 | #include <stdio.h> | 23 | #include <stdio.h> |
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 25 | #include <unistd.h> | ||
| 25 | #include <arpa/inet.h> | 26 | #include <arpa/inet.h> |
| 26 | #include <plist/plist.h> | 27 | #include <plist/plist.h> |
| 27 | 28 | ||
