Unsure about trivial patch
Enver ALTIN <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Parkyeri |
| Message-ID | <[email protected]> |
Hi,
I was looking at the code and just noticed this, but I'm not really sure
if it's a valid fix.
Index: bb_smscconn.c
===================================================================
RCS file: /home/cvs/gateway/gw/bb_smscconn.c,v
retrieving revision 1.79
diff -u -p -d -r1.79 bb_smscconn.c
--- bb_smscconn.c 28 Aug 2004 18:09:19 -0000 1.79
+++ bb_smscconn.c 10 Sep 2004 13:38:12 -0000
@@ -880,6 +880,7 @@ int smsc2_rout(Msg *msg)
gw_rwlock_unlock(&smsc_list_lock);
return SMSCCONN_FAILED_DISCARDED;
}
+ gw_rwlock_unlock(&smsc_list_lock);
s = gw_rand() % list_len(smsc_list);
best_preferred = best_ok = NULL;
--
Enver ALTIN | http://skyblue.gen.tr/
Software developer @ Parkyeri | http://www.parkyeri.com/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD4DBQBBQa8xZCB2FZvqK0sRAtQiAJ41JS+AyTHSKmHO1UMloL1lSOhyRgCTBB6e r0YgfsOtS/0Q6tURKlI8fw== =BNrE -----END PGP SIGNATURE-----