summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-27 19:02:00 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-28 16:58:22 +0100
commit800880c840fa3d73b62ada1753819ee48773ec39 (patch)
treed544797318eb1fca45bf40d8bd4fbabf29501401
parent70356c078b1f820328ea003aed3abb5c4e31c6d3 (diff)
downloadhardware_replicant_libsamsung-ril-800880c840fa3d73b62ada1753819ee48773ec39.tar.gz
hardware_replicant_libsamsung-ril-800880c840fa3d73b62ada1753819ee48773ec39.tar.bz2
hardware_replicant_libsamsung-ril-800880c840fa3d73b62ada1753819ee48773ec39.zip
client.c: break lines over 80 characters
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--client.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/client.c b/client.c
index 8958fd4..2449ee0 100644
--- a/client.c
+++ b/client.c
@@ -202,7 +202,8 @@ int ril_client_loop(struct ril_client *client)
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
- rc = pthread_create(&client->thread, &attr, ril_client_thread, (void *) client);
+ rc = pthread_create(&client->thread, &attr, ril_client_thread,
+ (void *) client);
if (rc != 0) {
RIL_LOGE("Starting %s client loop failed", client->name);
return -1;
@@ -218,7 +219,8 @@ int ril_client_request_register(struct ril_client *client, int request,
{
int rc = 0;
- if (client == NULL || client->callbacks == NULL || client->callbacks->request_register == NULL)
+ if (client == NULL || client->callbacks == NULL ||
+ client->callbacks->request_register == NULL)
return -1;
rc = client->callbacks->request_register(client, request, token);
@@ -233,7 +235,8 @@ int ril_client_request_unregister(struct ril_client *client, int request,
{
int rc = 0;
- if (client == NULL || client->callbacks == NULL || client->callbacks->request_unregister == NULL)
+ if (client == NULL || client->callbacks == NULL ||
+ client->callbacks->request_unregister == NULL)
return -1;
rc = client->callbacks->request_unregister(client, request, token);
@@ -247,7 +250,8 @@ int ril_client_flush(struct ril_client *client)
{
int rc = 0;
- if (client == NULL || client->callbacks == NULL || client->callbacks->flush == NULL)
+ if (client == NULL || client->callbacks == NULL ||
+ client->callbacks->flush == NULL)
return -1;
rc = client->callbacks->flush(client);