projects
/
swifty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae40fe
)
raw: Small fix: remove unnecessary curly braces.
author
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 10:27:49 +0000
(13:27 +0300)
committer
Razvan Deaconescu
<razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 10:28:21 +0000
(13:28 +0300)
src/raw/swift_raw.c
patch
|
blob
|
history
diff --git
a/src/raw/swift_raw.c
b/src/raw/swift_raw.c
index
2bb0b51
..
84cb382
100644
(file)
--- a/
src/raw/swift_raw.c
+++ b/
src/raw/swift_raw.c
@@
-97,9
+97,8
@@
static struct sock_list *list_elem_from_socket(int s)
struct sock_list *ptr;
for (ptr = sock_list_head.next; ptr != &sock_list_head; ptr = ptr->next)
- if (ptr->s == s)
{
+ if (ptr->s == s)
return ptr;
- }
return NULL;
}